summaryrefslogtreecommitdiff
path: root/src/core/frontend
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-02-11 11:11:42 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-11 01:11:42 -0800
commit0dd007e9ba935940964c53d7467ae9d4135717de (patch)
tree12d4983a9f0f1b9a8ff642324711b4ea29fbcb2d /src/core/frontend
parente2fa1ca5e102bc4187d494dc11f202d93495de59 (diff)
hid: remove the touch field from PadState (#2557)
Diffstat (limited to 'src/core/frontend')
-rw-r--r--src/core/frontend/emu_window.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp
index 4f0f786ce..6b4637741 100644
--- a/src/core/frontend/emu_window.cpp
+++ b/src/core/frontend/emu_window.cpp
@@ -70,14 +70,12 @@ void EmuWindow::TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y) {
(framebuffer_layout.bottom_screen.bottom - framebuffer_layout.bottom_screen.top);
touch_pressed = true;
- pad_state.touch.Assign(1);
}
void EmuWindow::TouchReleased() {
touch_pressed = false;
touch_x = 0;
touch_y = 0;
- pad_state.touch.Assign(0);
}
void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) {