mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 21:34:08 -07:00
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in
|
||
|---|---|---|
| .. | ||
| JSInterface_ConfigDB.cpp | ||
| JSInterface_ConfigDB.h | ||
| JSInterface_Console.cpp | ||
| JSInterface_Console.h | ||
| JSInterface_Debug.cpp | ||
| JSInterface_Debug.h | ||
| JSInterface_Game.cpp | ||
| JSInterface_Game.h | ||
| JSInterface_Hotkey.cpp | ||
| JSInterface_Hotkey.h | ||
| JSInterface_Main.cpp | ||
| JSInterface_Main.h | ||
| JSInterface_Mod.cpp | ||
| JSInterface_Mod.h | ||
| JSInterface_ModIo.cpp | ||
| JSInterface_ModIo.h | ||
| JSInterface_SavedGame.cpp | ||
| JSInterface_SavedGame.h | ||
| JSInterface_UserReport.cpp | ||
| JSInterface_UserReport.h | ||
| JSInterface_VFS.cpp | ||
| JSInterface_VFS.h | ||
| JSInterface_VisualReplay.cpp | ||
| JSInterface_VisualReplay.h | ||