dhewm3/neo
Daniel Gibson 78ab625edd Improve handling of "console key", add in_ignoreConsoleKey CVar
If in_ignoreConsoleKey is set, the console can only be opened with
Shift+Esc, not `/^/whatever, so you can easily type whatever character
is on your "console key" into the game, or even bind that key.
Otherwise, with SDL2, that key (KEY_SCANCODE_GRAVE) always generates the
newly added K_CONSOLE.
in_kbd has a new (SDL2-only) "auto" mode which tries to detect the
keyboard layout based on SDL_GetKeyFromScancode( SDL_SCANCODE_GRAVE ).
Wherever Sys_GetConsoleKey() is called, I now take the current state of
Shift into account, so we don't discard more chars than necessary, esp.
when they keyboard-layout (in_kbd) is *not* correctly set.

(TBH the only reason besides SDL1.2 to keep in_kbd around is to ignore
 the char generated by the "console key" in the console..)
2021-07-15 07:00:18 +02:00
..
cm Disable Assertions in Release builds 2018-11-11 23:21:23 +01:00
d3xp Fix most (according to warnings) remaining 64bit issues in tool code 2021-05-08 05:43:52 +02:00
framework Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
game Fix most (according to warnings) remaining 64bit issues in tool code 2021-05-08 05:43:52 +02:00
idlib Don't use stringDataAllocator in idStr, it's not thread-safe 2021-06-24 03:26:51 +02:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Make sure shaders are only loaded once at startup, fix #386 2021-06-24 18:37:14 +02:00
sound Make sure sampleTime used in sound updates is multiple of 8 2021-06-24 06:45:24 +02:00
sys Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
tools Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
CMakeLists.txt GCC/Clang: Remove -fno-unsafe-math-optimizations 2021-06-20 03:36:39 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00