Skip to content

Commit a77a7d7

Browse files
committed
Debug print mouse movement
1 parent 30b68ac commit a77a7d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Quake/in_sdl.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ void IN_MouseMove(usercmd_t *cmd)
707707
dmx = total_dx * sensitivity.value;
708708
dmy = total_dy * sensitivity.value;
709709

710+
Con_Printf("Mouse (%f, %f)\n", dmx, dmy);
711+
710712
total_dx = 0;
711713
total_dy = 0;
712714

@@ -849,7 +851,7 @@ static inline int IN_SDL_KeysymToQuakeKey(SDLKey sym)
849851
case SDLK_BREAK: return K_PAUSE;
850852
case SDLK_PAUSE: return K_PAUSE;
851853

852-
case SDLK_WORLD_18: return '~'; // the '²' key
854+
case SDLK_WORLD_18: return '~'; // the '' key
853855

854856
default: return 0;
855857
}

0 commit comments

Comments
 (0)