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

right analog stick interrupts current action #3

Closed
sam0x17 opened this issue Aug 25, 2018 · 0 comments
Closed

right analog stick interrupts current action #3

sam0x17 opened this issue Aug 25, 2018 · 0 comments

Comments

@sam0x17
Copy link
Member

sam0x17 commented Aug 25, 2018

Turns out this is caused by the left and right reports overwriting each other. We need to keep track of left_buttons and right_buttons separately, and only reset the currently active controller's buttons at the start of button processing for that controller (left_buttons = 0, instead of report.wButtons = 0).

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