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

Keyboard Bindings #25

Open
fregapple opened this issue Jan 23, 2022 · 1 comment
Open

Keyboard Bindings #25

fregapple opened this issue Jan 23, 2022 · 1 comment

Comments

@fregapple
Copy link

Hi!

Not really an issue, but wondering how I would go about implementing keyboard bindings. I assume I would have to implement DEVICE_KEYBOARD. But not to sure how I would do it / will I need to use pygame's event's to poll for input or use another library.

Just looking for a bit of help to get it together!

@fregapple
Copy link
Author

Actually as a bug, your code doesn't work with the Current xbox controller connected via the wireless dongle. It does work with some older code I found in the history:
image

The commented out code is what you have currently, however it doesn't seem to register my controller at all. If I use the code above the commented out stuff, it works fine.

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

1 participant