Read both pic0 and pic1 and draw them on the pause screen.

This commit is contained in:
Henrik Rydgard committed 2013-04-01 12:35:02 +02:00
1 parent 9472de580d
commit 8aee82535b
5 files changed
+71 -22

No files matched your search

+5
View File
@@ -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;