forked from mirror/OpenTTD
(svn r308) Added debug hotkey 'caps lock' for sdl builds as well
This commit is contained in:
1
sdl.c
1
sdl.c
@@ -562,6 +562,7 @@ static int SdlVideoMainLoop()
|
|||||||
|
|
||||||
_ctrl_pressed = !!(mod & (KMOD_LCTRL | KMOD_RCTRL));
|
_ctrl_pressed = !!(mod & (KMOD_LCTRL | KMOD_RCTRL));
|
||||||
_shift_pressed = !!(mod & (KMOD_LSHIFT | KMOD_RSHIFT));
|
_shift_pressed = !!(mod & (KMOD_LSHIFT | KMOD_RSHIFT));
|
||||||
|
_dbg_screen_rect = !!(mod & KMOD_CAPS);
|
||||||
|
|
||||||
// determine which directional keys are down
|
// determine which directional keys are down
|
||||||
_dirkeys =
|
_dirkeys =
|
||||||
|
Reference in New Issue
Block a user