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

Request: Support for SDL2's game controller / joystick API #119

Open
kotrenn opened this issue Jul 21, 2022 · 2 comments
Open

Request: Support for SDL2's game controller / joystick API #119

kotrenn opened this issue Jul 21, 2022 · 2 comments
Assignees

Comments

@kotrenn
Copy link

kotrenn commented Jul 21, 2022

Would like to add support for input from gamepads. SDL 1.2 had this through Joystick support. SDL 2 added support for game controllers, which at a glance appear to be an extension of support for joysticks.

Game Controller
Joystick API Documentation

@HexDecimal
Copy link
Collaborator

Adding controller objects should be simple enough, but events will also need to be added.

@HexDecimal HexDecimal self-assigned this Jul 21, 2022
@HexDecimal
Copy link
Collaborator

I've ported joysticks to Python-tcod but it will take a while for the docs to be complete.

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

No branches or pull requests

2 participants