From 953b5daf0a736799186e092bb5ceffa9e711c9df Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 16 Oct 2011 02:00:55 +0200 Subject: [PATCH] Pause hooked up. --- input/sdl.c | 1 + input/x11_input.c | 1 + settings.c | 1 + 3 files changed, 3 insertions(+) diff --git a/input/sdl.c b/input/sdl.c index 688018b51b..227e74ac5f 100644 --- a/input/sdl.c +++ b/input/sdl.c @@ -55,6 +55,7 @@ static const struct key_bind lut_binds[] = { { SDLK_KP_MULTIPLY, SK_KP_MULTIPLY }, { SDLK_KP_DIVIDE, SK_KP_DIVIDE }, { SDLK_BACKQUOTE, SK_BACKQUOTE }, + { SDLK_PAUSE, SK_PAUSE }, { SDLK_KP0, SK_KP0 }, { SDLK_KP1, SK_KP1 }, { SDLK_KP2, SK_KP2 }, diff --git a/input/x11_input.c b/input/x11_input.c index 061d2077c7..75936ad006 100644 --- a/input/x11_input.c +++ b/input/x11_input.c @@ -65,6 +65,7 @@ static const struct key_bind lut_binds[] = { { XK_KP_Multiply, SK_KP_MULTIPLY }, { XK_KP_Divide, SK_KP_DIVIDE }, { XK_grave, SK_BACKQUOTE }, + { XK_Pause, SK_PAUSE }, { XK_KP_0, SK_KP0 }, { XK_KP_1, SK_KP1 }, { XK_KP_2, SK_KP2 }, diff --git a/settings.c b/settings.c index ec1b73e31e..5267a5c56e 100644 --- a/settings.c +++ b/settings.c @@ -696,6 +696,7 @@ static const struct key_map sk_map[] = { { "scroll_lock", SK_SCROLLOCK }, { "tilde", SK_BACKQUOTE }, { "backquote", SK_BACKQUOTE }, + { "pause", SK_PAUSE }, { "nul", SK_UNKNOWN }, };