From d40cff0916e853300c05d3f53fb4ee53a9812275 Mon Sep 17 00:00:00 2001 From: Diordany van Hemert Date: Sun, 9 Jun 2024 02:24:51 +0200 Subject: [PATCH] Debug print mouse movement --- Quake/in_sdl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Quake/in_sdl.c b/Quake/in_sdl.c index fc145db5f..e6f1395e3 100644 --- a/Quake/in_sdl.c +++ b/Quake/in_sdl.c @@ -707,6 +707,8 @@ void IN_MouseMove(usercmd_t *cmd) dmx = total_dx * sensitivity.value; dmy = total_dy * sensitivity.value; + Con_Printf("Mouse (%f, %f)\n", dmx, dmy); + total_dx = 0; total_dy = 0; @@ -849,7 +851,7 @@ static inline int IN_SDL_KeysymToQuakeKey(SDLKey sym) case SDLK_BREAK: return K_PAUSE; case SDLK_PAUSE: return K_PAUSE; - case SDLK_WORLD_18: return '~'; // the '²' key + case SDLK_WORLD_18: return '~'; // the '�' key default: return 0; }