From cda57d1e284883d90f2bb43bfb3ed723e178f373 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Wed, 27 Jan 2021 19:27:44 +0100 Subject: [PATCH] use < 0 to get both SDL_TOUCH_MOUSEID and SDL_TOUCH_TOUCHID --- src/osdep/amiberry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/amiberry.cpp b/src/osdep/amiberry.cpp index a1782b0eb..f8e2f497f 100644 --- a/src/osdep/amiberry.cpp +++ b/src/osdep/amiberry.cpp @@ -1261,7 +1261,7 @@ void process_event(SDL_Event event) return; } - if (wm == SDL_TOUCH_MOUSEID && currprefs.input_tablet >= TABLET_MOUSEHACK) + if (wm < 0 && currprefs.input_tablet >= TABLET_MOUSEHACK) { /* absolute */ setmousestate(0, 0, event.motion.x, 1);