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

Cannot bind +/- on a controller axis to the same input #36

Open
Buurazu opened this issue Mar 26, 2020 · 0 comments
Open

Cannot bind +/- on a controller axis to the same input #36

Buurazu opened this issue Mar 26, 2020 · 0 comments

Comments

@Buurazu
Copy link

Buurazu commented Mar 26, 2020

void InputDialog::joystickEvent(SDL_Event const &ev) {

https://discordapp.com/channels/88066218971385856/686674807093198916/692590795986960395

If you bind the + and - on an axis to the same input (namely binding Select to LT/RT, to match Gamecube functionality), only the second one will work.

A temporary array of booleans used to not "unset" and "set" in the same for loop could fix it?

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

3 participants