hid: remove the touch field from PadState (#2557)

This commit is contained in:
Weiyi Wang 2017-02-11 11:11:42 +02:00 committed by Yuri Kunde Schlesner
parent e2fa1ca5e1
commit 0dd007e9ba
2 changed files with 0 additions and 6 deletions

View file

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