fernandojsg / aframe-input-mapping-component

https://fernandojsg.github.io/aframe-input-mapping-component
MIT License
24 stars 7 forks source link

Mapping doesn't deactivate correctly when changing states #10

Closed fernandojsg closed 6 years ago

fernandojsg commented 6 years ago

In the current example trackpaddown is defined for vive-controls on default state, but if we change to task1 it's still working.

fernandojsg commented 6 years ago

Actually I just notice that it's a feature (yep on my own code :angel:): https://github.com/fernandojsg/aframe-input-mapping-component/blob/d6cd8b2dae32bbe17c56232fd679634b115aa520/index.js#L121

I'm going to remove it and propose a change https://github.com/fernandojsg/aframe-input-mapping-component/issues/11