Should fix tilde/grave key.

This commit is contained in:
Themaister 2011-05-17 18:52:00 +02:00
parent aebe6bcd23
commit 5f5013871a
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ static const struct key_bind lut_binds[] = {
{ XK_KP_Subtract, SDLK_KP_MINUS },
{ XK_KP_Multiply, SDLK_KP_MULTIPLY },
{ XK_KP_Divide, SDLK_KP_DIVIDE },
{ XK_grave, SDLK_BACKQUOTE },
{ XK_KP_0, SDLK_KP0 },
{ XK_KP_1, SDLK_KP1 },
{ XK_KP_2, SDLK_KP2 },

View File

@ -642,6 +642,7 @@ static const struct key_map sdlk_map[] = {
{ "divide", SDLK_KP_DIVIDE },
{ "print_screen", SDLK_PRINT },
{ "scroll_lock", SDLK_SCROLLOCK },
{ "tilde", SDLK_BACKQUOTE },
{ "nul", SDLK_UNKNOWN },
};