dhewm3/neo/framework
Daniel Gibson ae2d3a7e99 Support (hopefully) all keyboard keys via scancodes, #323
If a key is pressed whichs SDL_Keycode isn't known to Doom3 (has no
corresponding K_* constant), its SDL_Scancode is mapped to the
corresponding newly added K_SC_* scancode constant.
I think I have K_SC_* constants for all keys that differ between
keyboard layouts (which is mostly printable characters; F1-F12, Ctrl,
Shift, ... should be the same on all layouts, which means that e.g.
SDL_SCANCODE_F1 always belongs to SDLK_F1 which the old code already
maps to Doom3's K_F1).
What's extra nice (IMO) is that when Doom3 requests a *localized* name
of the key (like for showing in the bindings menu), we actually use the
name of the SDL_Keycode that *currently* belongs to the scancode, and
esp. the "Western High-ASCII characters" (ISO-8859-1) supported by Doom3
like Ä or Ñ are displayed correctly.

(I already implemented a very similar hack in Yamagi Quake II and
 reused the list of scancodes)

This should fix most of the problems reported in #323
2021-07-15 07:00:18 +02:00
..
async fix: cdkey check now properly disable in clients 2021-03-08 17:56:26 +01:00
minizip A little change to minizips ioapi.h for OpenBSD 2018-11-23 00:20:02 +01:00
BuildDefines.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
BuildVersion.h Fix savegame-compatibility of scripts, increase BUILD_NUMBER 2021-02-21 06:05:47 +01:00
CmdSystem.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CmdSystem.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Common.cpp Force SDL to minimize the window when focus is lost, fix #360 2021-06-20 03:59:30 +02:00
Common.h Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
Compressor.cpp Use int instead of long in idCompressor_Arithmetic methods 2012-06-28 13:02:46 +02:00
Compressor.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Console.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
Console.h Make console history persistent 2012-11-13 23:21:38 +01:00
CVarSystem.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CVarSystem.h MSVC: Treat pointer truncation warnings as errors, adjust idCVar for that 2021-05-08 05:54:42 +02:00
DeclAF.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2015-02-25 22:01:00 +01:00
DeclAF.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclManager.cpp Fix "Save as" in Particle Editor 2021-05-08 21:05:56 +02:00
DeclManager.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoChecksum.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DemoFile.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoFile.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EditField.cpp Implement clipboard support on POSIX platforms with SDL2 2021-07-03 02:25:20 +02:00
EditField.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
File.cpp Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
File.h Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
FileSystem.cpp Make sure / or C:\ doesn't get search by idFileSystemLocal::ListMods() 2020-07-20 02:19:11 +02:00
FileSystem.h Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
Game.h idCommon::SetCallback() and GetAdditionalFunction() - for Mods 2018-09-30 05:06:20 +02:00
GameCallbacks_local.h idCommon::SetCallback() and GetAdditionalFunction() - for Mods 2018-09-30 05:06:20 +02:00
KeyInput.cpp Support (hopefully) all keyboard keys via scancodes, #323 2021-07-15 07:00:18 +02:00
KeyInput.h Support (hopefully) all keyboard keys via scancodes, #323 2021-07-15 07:00:18 +02:00
Licensee.h Update ENGINE_VERSION to 1.5.2pre 2021-04-08 04:13:08 +02:00
Session.cpp Use more than one QuickSave file, #392 2021-07-03 02:25:20 +02:00
Session.h Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
Session_local.h Use more than one QuickSave file, #392 2021-07-03 02:25:20 +02:00
Session_menu.cpp When saving a game via menu, select and show new savegame 2021-07-03 02:25:20 +02:00
Unzip.h Use updated minizip version for unzip 2013-06-12 00:07:09 +02:00
UsercmdGen.cpp s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
UsercmdGen.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00