mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-17 09:22:03 +00:00
* Added a little hack to support the console key on french keyboards
This commit is contained in:
parent
20c5bc38cf
commit
354196b3a9
1 changed files with 2 additions and 0 deletions
|
@ -213,6 +213,8 @@ static const char *XLateKey(SDL_keysym *keysym, int *key)
|
||||||
case SDLK_KP_PLUS: *key = K_KP_PLUS; break;
|
case SDLK_KP_PLUS: *key = K_KP_PLUS; break;
|
||||||
case SDLK_KP_MINUS: *key = K_KP_MINUS; break;
|
case SDLK_KP_MINUS: *key = K_KP_MINUS; break;
|
||||||
case SDLK_KP_DIVIDE: *key = K_KP_SLASH; break;
|
case SDLK_KP_DIVIDE: *key = K_KP_SLASH; break;
|
||||||
|
|
||||||
|
case SDLK_WORLD_18: *key = '~'; break; // hack for french keyboards
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue