* Added a little hack to support the console key on french keyboards

This commit is contained in:
Tim Angus 2005-10-14 23:00:39 +00:00
parent 20c5bc38cf
commit 354196b3a9

View file

@ -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;
}