Fix touch screen controls, Fixes 2789

This commit is contained in:
Henrik Rydgard committed 2013-07-15 20:30:23 +02:00
1 parent 1a25309ade
commit 3703599bee
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -389,7 +389,7 @@ void EmuScreen::update(InputState &input) {
fakeInputState.pad_rstick_x = 0.0f;
fakeInputState.pad_rstick_y = 0.0f;
UpdateGamepad(fakeInputState);
UpdateInputState(&fakeInputState);
UpdateInputState(&fakeInputState, true);
for (size_t i = 0; i < ARRAY_SIZE(legacy_touch_mapping); i++) {
if (fakeInputState.pad_buttons_down & legacy_touch_mapping[i].from)