Fix home/end/pgup/pgdown keys.

This commit is contained in:
Themaister 2012-04-11 18:56:21 +02:00
parent d33e0250b6
commit 16d123dfab
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@ static const struct key_bind lut_binds[] = {
{ SDLK_RSHIFT, SK_RSHIFT },
{ SDLK_LSHIFT, SK_LSHIFT },
{ SDLK_LCTRL, SK_LCTRL },
{ SDLK_END, SK_END },
{ SDLK_HOME, SK_HOME },
{ SDLK_PAGEDOWN, SK_PAGEDOWN },
{ SDLK_PAGEUP, SK_PAGEUP },
{ SDLK_LALT, SK_LALT },
{ SDLK_SPACE, SK_SPACE },
{ SDLK_ESCAPE, SK_ESCAPE },

View File

@ -49,6 +49,10 @@ static const struct key_bind lut_binds[] = {
{ XK_Return, SK_RETURN },
{ XK_Tab, SK_TAB },
{ XK_Insert, SK_INSERT },
{ XK_Home, SK_HOME },
{ XK_End, SK_END },
{ XK_Page_Up, SK_PAGEUP },
{ XK_Page_Down, SK_PAGEDOWN },
{ XK_Delete, SK_DELETE },
{ XK_Shift_R, SK_RSHIFT },
{ XK_Shift_L, SK_LSHIFT },