Skip to content

Conversation

deshipu
Copy link

@deshipu deshipu commented Jun 12, 2019

When reading the accumulated button presses in gamepad and gamepadshift,
don't clear the buffer to "no buttons pressed", but instead set it to
the current (last checked) state. This clears the accumulated presses,
but retains any ongoing ones.

This fixes #1935

@deshipu deshipu added this to the 4.x.x - Bug fixes milestone Jun 12, 2019
@tannewt tannewt changed the base branch from master to 4.0.x June 12, 2019 18:27
When reading the accumulated button presses in gamepad and gamepadshift,
don't clear the buffer to "no buttons pressed", but instead set it to
the current (last checked) state. This clears the accumulated presses,
but retains any ongoing ones.

This fixes #1935
@tannewt tannewt self-requested a review June 12, 2019 18:43
@tannewt tannewt added the bug label Jun 12, 2019
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 076a3f8 into adafruit:4.0.x Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants