aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-14 23:00:39 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-14 23:00:39 +0000
commit369ac84460b64b89c8163db5e42f6e04a725f4ae (patch)
tree1643746bd1f2b5be905ccdffab158d165964638d /code
parent8a667c801213131d7445045f4a4fe496f2aa306d (diff)
downloadioquake3-aero-369ac84460b64b89c8163db5e42f6e04a725f4ae.tar.gz
ioquake3-aero-369ac84460b64b89c8163db5e42f6e04a725f4ae.zip
* 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
Diffstat (limited to 'code')
-rw-r--r--code/unix/sdl_glimp.c2
1 files changed, 2 insertions, 0 deletions
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;
}