mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 14:27:59 -05:00
hid: remove the touch field from PadState (#2557)
This commit is contained in:
committed by
Yuri Kunde Schlesner
parent
e2fa1ca5e1
commit
0dd007e9ba
@ -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) {
|
||||
|
Reference in New Issue
Block a user