Skip to content
This repository has been archived by the owner on Sep 23, 2018. It is now read-only.

Create more obvious way to use component just for events #3

Closed
donmccurdy opened this issue Mar 23, 2016 · 1 comment
Closed

Create more obvious way to use component just for events #3

donmccurdy opened this issue Mar 23, 2016 · 1 comment

Comments

@donmccurdy
Copy link
Owner

Some devs may want to use this component to generate named events, but not to move around. Currently this is achieved with <a-entity keyboard-controls="enabled: false"></a-entity, which is not a good syntax. enabled: false should disable everything, including events, and there should be separate documented options like movementEnabled: true|false or eventsEnabled: true|false to achieve this.

@armthethinker
Copy link

This would be useful. I've been using KeyPress to handle my keyboard-tied events.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants