projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed handling of chain explosions in EM engine for old tapes
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.c
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 41af967e18a1e583c3212c3877ba1e503a458d30..93c6cd0157bab9273c2f8961b9b4941c361dbd6d 100644
(file)
--- a/
src/libgame/sdl.c
+++ b/
src/libgame/sdl.c
@@
-2557,6
+2557,9
@@
static void setJoystickButton(int nr, int button_id_raw, int button_state)
void HandleJoystickEvent(Event *event)
{
+ // when using joystick, disable overlay touch buttons
+ runtime.uses_touch_device = FALSE;
+
switch (event->type)
{
case SDL_CONTROLLERDEVICEADDED: