mirror of https://github.com/PCSX2/pcsx2.git
XInputSource: Fix triggers input range
This commit is contained in:
parent
864651ce8d
commit
5e913b0e9e
|
@ -400,8 +400,8 @@ void XInputSource::CheckForStateChanges(u32 index, const XINPUT_STATE& new_state
|
|||
CHECK_AXIS(sThumbLY, AXIS_LEFTY, -32768, -32767);
|
||||
CHECK_AXIS(sThumbRX, AXIS_RIGHTX, 32768, 32767);
|
||||
CHECK_AXIS(sThumbRY, AXIS_RIGHTY, -32768, -32767);
|
||||
CHECK_AXIS(bLeftTrigger, AXIS_LEFTTRIGGER, 128, 127);
|
||||
CHECK_AXIS(bRightTrigger, AXIS_RIGHTTRIGGER, 128, 127);
|
||||
CHECK_AXIS(bLeftTrigger, AXIS_LEFTTRIGGER, 0, 255);
|
||||
CHECK_AXIS(bRightTrigger, AXIS_RIGHTTRIGGER, 0, 255);
|
||||
|
||||
#undef CHECK_AXIS
|
||||
|
||||
|
|
Loading…
Reference in New Issue