We could have a more advanced API to handle modifications of the states:
AFRAME.setCurrentInputState(['teleport', 'grab']);
or
AFRAME.activateCurrentInputState('grab');
AFRAME.deactivateCurrentInputState('paint');
or
AFRAME.switchCurrentInputState(['grab'], ['paint']); // To add some and remove others
...
As discussed at https://github.com/fernandojsg/aframe-input-mapping-component/issues/11
Could it be interesting to have things like:
We could have a more advanced API to handle modifications of the states: