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

Implement : Joystick support in the custom mode #115

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

CSaratakij
Copy link
Contributor

This is the joystick support, using SFML.
All you need is to add the json key "joyCodes" in the same place of "keyCodes" in the custom section.
This json key is not require in every key object, just add this when you want to have a joystick support.

g

It come with a joystick debugger, to show the information about joystick.
Toggle by key "Control + D"
joystick-support

Joystick have a map range.
keycode 0 - 31 is for the joystick button.
and keycode 32 - 45 is for the joystick axis, follow by this order
range

@kuroni
Copy link
Owner

kuroni commented Jan 7, 2021

Looks pretty promising! I will take a closer look soon.

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

Successfully merging this pull request may close these issues.

2 participants