one more time... I must be brain dead...
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402707
This commit is contained in:
parent
4ae83d01f2
commit
4cf4bef5c7
1 changed files with 8 additions and 8 deletions
|
@ -859,19 +859,19 @@ X11_InitKeyboard(_THIS)
|
||||||
KeyCodeToSDLK tables to find the right one (if any).
|
KeyCodeToSDLK tables to find the right one (if any).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-OFF* */
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
KeySym sym;
|
KeySym sym;
|
||||||
SDLKey key;
|
SDLKey key;
|
||||||
} fingerprint[] = {
|
} fingerprint[] =
|
||||||
{
|
{
|
||||||
XK_Tab, SDLK_TAB}, {
|
{XK_Tab, SDLK_TAB},
|
||||||
XK_Return, SDLK_RETURN}, {
|
{XK_Return, SDLK_RETURN},
|
||||||
XK_Escape, SDLK_ESCAPE}, {
|
{XK_Escape, SDLK_ESCAPE},
|
||||||
XK_space, SDLK_SPACE}
|
{XK_space, SDLK_SPACE}
|
||||||
};
|
};
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
SDL_zero(keyboard);
|
SDL_zero(keyboard);
|
||||||
data->keyboard = SDL_AddKeyboard(&keyboard, -1);
|
data->keyboard = SDL_AddKeyboard(&keyboard, -1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue