Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Controller Input Events similar to keyboard #43

Closed
grrussel opened this issue Nov 1, 2016 · 1 comment
Closed

Feature Request - Controller Input Events similar to keyboard #43

grrussel opened this issue Nov 1, 2016 · 1 comment

Comments

@grrussel
Copy link
Contributor

grrussel commented Nov 1, 2016

It would be nice to have continuous input events while an Axis or Button is held in, similar to the case of what is done on holding down a key

@blacktm
Copy link
Member

blacktm commented Nov 7, 2016

Yes, very important to know if a button is being held. Not sure if you saw, but I recently added a "pressed" callback parameter, so it's easy to tell what state the button is in. For axes, they don't really have a pressed state, but rather on_controller is called whenever the value of an axis changes.

If you haven't yet, give the controller.c test a try (it's not yet in a release, so you'll have to pull the latest changes from master and make rebuild && make controller. I'd be interested to hear if this meets your needs.

@blacktm blacktm closed this as completed Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants