mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Bugfix R2 on x360 controller
This commit is contained in:
parent
7cd45d9375
commit
d5f4933b44
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void XinputDevice::ApplyButtons(XINPUT_STATE &state, InputState &input_state) {
|
|||
|
||||
if (state.Gamepad.bLeftTrigger > XINPUT_GAMEPAD_TRIGGER_THRESHOLD)
|
||||
buttons |= XBOX_CODE_LEFTTRIGGER;
|
||||
if (state.Gamepad.bLeftTrigger > XINPUT_GAMEPAD_TRIGGER_THRESHOLD)
|
||||
if (state.Gamepad.bRightTrigger > XINPUT_GAMEPAD_TRIGGER_THRESHOLD)
|
||||
buttons |= XBOX_CODE_RIGHTTRIGGER;
|
||||
|
||||
const SHORT rthreshold = 22000;
|
||||
|
|
Loading…
Add table
Reference in a new issue