Add Ctrl-Shift-Del shortcut for reset

This key combination is described in Reiser, "The Oberon System".
This commit is contained in:
Peter De Wachter 2016-08-06 22:38:08 +02:00
parent 159b049221
commit c609fbf649

View File

@ -50,6 +50,7 @@ struct KeyMapping {
struct KeyMapping key_map[] = {
{ SDL_PRESSED, SDLK_F4, KMOD_ALT, 0, ACTION_QUIT },
{ SDL_PRESSED, SDLK_F12, 0, 0, ACTION_RESET },
{ SDL_PRESSED, SDLK_DELETE, KMOD_CTRL, KMOD_SHIFT, ACTION_RESET },
{ SDL_PRESSED, SDLK_F11, 0, 0, ACTION_TOGGLE_FULLSCREEN },
{ SDL_PRESSED, SDLK_RETURN, KMOD_ALT, 0, ACTION_TOGGLE_FULLSCREEN },
{ SDL_PRESSED, SDLK_f, KMOD_GUI, KMOD_SHIFT, ACTION_TOGGLE_FULLSCREEN }, // Mac?