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

inputdog_get_gamepad_string bumpers and triggers switched? #3

Open
bmmund opened this issue Jun 9, 2019 · 1 comment
Open

inputdog_get_gamepad_string bumpers and triggers switched? #3

bmmund opened this issue Jun 9, 2019 · 1 comment

Comments

@bmmund
Copy link

bmmund commented Jun 9, 2019

When using the inputdog_get_gamepad_string definitions, gp_shoulderrb maps to r_trig. I had thought it should map to r_bump instead as the "b" suggests its a bumper.

case gp_shoulderl: return "l_bump"; break;
case gp_shoulderlb: return "l_trig"; break;
case gp_shoulderr: return "r_bump"; break;
case gp_shoulderrb: return "r_trig"; break;

    case gp_shoulderl: return "l_bump"; break;
    case gp_shoulderlb: return "l_trig"; break;
    case gp_shoulderr: return "r_bump"; break;
    case gp_shoulderrb: return "r_trig"; break;
@AceKiron
Copy link

I'm actually surprised nobody has answered this yet.

Anyway, I don't know why YoYoGames chose to do it this way, but as stated on the documentation regarding these constants gp_shoulderrb is the right trigger, while gp_shoulderr is the right bump.
image

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