From 354196b3a961739afcdf6237a17c8dd5205cd006 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 14 Oct 2005 23:00:39 +0000 Subject: [PATCH] * Added a little hack to support the console key on french keyboards --- 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 81855f7f..00c180f9 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; }