yquake2remaster/src
Daniel Gibson bbde4e2a81 Support scancodes as fallback for unknown keyboard keys
If we can't map a SDL_KEYDOWN/KEYUP events SDL_Keycode to a known
Quake2 K_* keycode, we try to map the SDL_Scancode to one of the new
K_SC_* YQ2 scancodes instead.
The scancode name corresponds to the key at that position on US-QWERTY
keyboards *not* the one in the local layout, for example the German 'Ö'
key is K_SC_SEMICOLON.

This way (hopefully!) all keys on common keyboards can be bound,
regardless of their layout. The key name won't be immediately obvious
to the user, but it's only a fallback and better than nothing.

fixes #543
2020-04-08 04:43:25 +02:00
..
backends Hunk API, using FreeBSD super page for large requests. 2020-02-08 20:55:50 +00:00
client Support scancodes as fallback for unknown keyboard keys 2020-04-08 04:43:25 +02:00
common Recognize q2pro .pkz files. 2020-02-22 16:17:13 +01:00
game Limit the fix against black debris (1f1a45a) to gibs, debris, monsters. 2020-02-19 18:49:54 +01:00
server PVS Studio: Misc. fixes and FIXMEs 2020-02-10 17:55:41 +01:00
win-wrapper quake2.exe wrapper puts Q2 window in foreground 2019-05-08 03:04:12 +02:00