mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Read both pic0 and pic1 and draw them on the pause screen.
This commit is contained in:
1 parent
9472de580d
commit
8aee82535b
5 files changed
+71
-22
No files matched your search
@@ -45,6 +45,11 @@ int XinputDevice::UpdateState(InputState &input_state) {
|
||||
input_state.pad_lstick_y += left.y;
|
||||
input_state.pad_rstick_x += right.x;
|
||||
input_state.pad_rstick_y += right.y;
|
||||
|
||||
// Also convert the analog triggers.
|
||||
input_state.pad_ltrigger = state.Gamepad.bLeftTrigger / 255.0f;
|
||||
input_state.pad_rtrigger = state.Gamepad.bRightTrigger / 255.0f;
|
||||
|
||||
this->prevState = state;
|
||||
this->check_delay = 0;
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user