XInputSource: Fix triggers input range

This commit is contained in:
Silent 2022-04-12 23:40:38 +02:00 committed by refractionpcsx2
parent 864651ce8d
commit 5e913b0e9e
1 changed files with 2 additions and 2 deletions

View File

@ -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