summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7142be)
raw | patch | inline | side by side (parent: c7142be)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 2 Feb 2023 19:57:32 +0000 (22:57 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 2 Feb 2023 19:57:32 +0000 (22:57 +0300) |
src/engine/e_input_sdl2.inc | patch | blob | history | |
src/engine/e_input_stub.inc | patch | blob | history | |
src/game/sdl/g_system.pas | patch | blob | history |
index 7318ea923142f087f813a611d99f1e73593ae168..9e9c7d8aa60d12f4eabee89b8e83c06f11fa9114 100644 (file)
e_KeyNames[IK_DOT] := '.';
e_KeyNames[IK_MINUS] := '-';
e_KeyNames[IK_EQUALS] := '=';
- e_KeyNames[IK_RMETA] := 'RMETA';
- e_KeyNames[IK_LMETA] := 'LMETA';
e_KeyNames[IK_NONUSBACKSLASH] := 'NONUSBACKSLASH';
// joysticks
index 3c208efa14a2f5d39d104a9b39d878a660e29170..496dde54a1843de3ef482599dd7a49eff4e04363 100644 (file)
IK_Y = 106;
IK_Z = 107;
IK_MINUS = 108;
- IK_RMETA = 109;
- IK_LMETA = 110;
IK_NONUSBACKSLASH = 111;
// TODO: think of something better than this shit
IK_LASTKEY = e_MaxKbdKeys-1;
e_KeyNames[IK_DOT] := '.';
e_KeyNames[IK_MINUS] := '-';
e_KeyNames[IK_EQUALS] := '=';
- e_KeyNames[IK_RMETA] := 'RMETA';
- e_KeyNames[IK_LMETA] := 'LMETA';
e_KeyNames[IK_NONUSBACKSLASH] := 'NONUSBACKSLASH';
// joysticks
index fb6dd77c5c71dd9157525a9c5d5afa3a256286b8..0dee147df9240f2a07624145dc63a074bb8a4c1b 100644 (file)
SDLK_LCTRL: x := IK_CTRL;
SDLK_RCTRL: x := IK_RCTRL;
SDLK_RALT: x := IK_RALT;
- SDLK_LSUPER: x := IK_WIN;
- SDLK_RSUPER: x := IK_RWIN;
+ SDLK_LSUPER, SDLK_LMETA: x := IK_WIN;
+ SDLK_RSUPER, SDLK_RMETA: x := IK_RWIN;
SDLK_MENU: x := IK_MENU;
SDLK_PRINT: x := IK_PRINTSCR;
SDLK_SCROLLOCK: x := IK_SCROLLLOCK;
SDLK_PAUSE: x := IK_PAUSE;
SDLK_A..SDLK_Z: x := IK_A + (key - SDLK_A);
SDLK_MINUS: x := IK_MINUS;
- SDLK_RMETA: x := IK_RMETA;
- SDLK_LMETA: x := IK_LMETA;
else
x := IK_INVALID
end;