Skip to content

Commit

Permalink
Debug print mouse movement
Browse files Browse the repository at this point in the history
  • Loading branch information
Diordany committed Jun 9, 2024
1 parent 6dd4012 commit d40cff0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Quake/in_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit d40cff0

Please sign in to comment.