diff --git a/src/unix/unix.c b/src/unix/unix.c index 15d6b9b7e..049c0ec9d 100644 --- a/src/unix/unix.c +++ b/src/unix/unix.c @@ -1378,7 +1378,6 @@ main(int argc, char **argv) /* Touch events */ /* SDL_FINGERDOWN, */ /* SDL_FINGERUP, */ - /* case SDL_FINGERMOTION: { // See SDL_TouchFingerEvent @@ -1389,7 +1388,6 @@ main(int argc, char **argv) } break; } - */ case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONUP: @@ -1424,6 +1422,8 @@ main(int argc, char **argv) case SDL_BUTTON_X2: buttonmask = 16; break; + default: + printf("Unknown mouse button %d\n", event.button.button); } SDL_LockMutex(mousemutex); if (event.button.state == SDL_PRESSED) diff --git a/src/unix/unix_sdl.c b/src/unix/unix_sdl.c index 806f71918..8d3a71002 100644 --- a/src/unix/unix_sdl.c +++ b/src/unix/unix_sdl.c @@ -419,7 +419,7 @@ sdl_init_common(int flags) return (0); } - // Ensure mouse and touchpads behaves the same for us + // Ensure mouse and touchpads behaves the same for us, dunno if these really do something SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1"); SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1");