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

Question about how this is done #10

Closed
toxicrecker opened this issue Nov 28, 2022 · 1 comment
Closed

Question about how this is done #10

toxicrecker opened this issue Nov 28, 2022 · 1 comment

Comments

@toxicrecker
Copy link

How did you figure out all the mapping and the keyboard and mouse state bytearrays? im asking this as im trying to do something similar with an xbox360 controller

@Alkaid-Benetnash
Copy link
Owner

Hi, keycode are tracked in keycode.txt, where you can find the description of the data source at the very beginning.
In short, the mapping is taken from the USB HID usage reference (e.g., here is a link).
There are dedicated section for gaming control in these kind of documentations.
Good luck!

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