From 369ac84460b64b89c8163db5e42f6e04a725f4ae Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 14 Oct 2005 23:00:39 +0000 Subject: * Added a little hack to support the console key on french keyboards git-svn-id: svn://svn.icculus.org/quake3/trunk@161 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/sdl_glimp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c index 81855f7..00c180f 100644 --- a/code/unix/sdl_glimp.c +++ b/code/unix/sdl_glimp.c @@ -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_MINUS: *key = K_KP_MINUS; break; case SDLK_KP_DIVIDE: *key = K_KP_SLASH; break; + + case SDLK_WORLD_18: *key = '~'; break; // hack for french keyboards default: break; } -- cgit v1.2.3