mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
b9efae64d8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
12 lines
444 B
Text
12 lines
444 B
Text
--- src/input.cpp 2020-09-04 17:04:11.132661873 +0200
|
|
+++ ../b/src/input.cpp 2020-09-04 17:04:52.825140645 +0200
|
|
@@ -91,7 +91,8 @@
|
|
|
|
// TODO: don't attempt to simulate mouse events from touch events -
|
|
// fake mouse events often are de-centered
|
|
- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
|
|
+ SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1");
|
|
+ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1");
|
|
|
|
/* Touch devices */
|
|
{
|