X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_input.pas;h=1c27249fc44465151cf00dc129c9bf85fa6a5f51;hb=5c25a7dbffb4dbd896cc24cfafbd8cc52ddf22a4;hp=1aae709d8706c719b0c27598e69da46a4c709d6b;hpb=54b1109da7cd0eb8498980a6ad57f2dcda49b022;p=d2df-sdl.git diff --git a/src/engine/e_input.pas b/src/engine/e_input.pas index 1aae709..1c27249 100644 --- a/src/engine/e_input.pas +++ b/src/engine/e_input.pas @@ -29,7 +29,7 @@ const e_MaxJoyBtns = 32; e_MaxJoyAxes = 8; e_MaxJoyHats = 8; - e_MaxVirtKeys = 32; + e_MaxVirtKeys = 48; e_MaxJoyKeys = e_MaxJoyBtns + e_MaxJoyAxes*2 + e_MaxJoyHats*4; @@ -38,7 +38,7 @@ const // $$$..$$$ - 4*32 Joystick buttons // $$$..$$$ - 8*2 Joystick axes (- and +) // $$$..$$$ - 4*4 Joystick hats (L U R D) - // $$$..$$$ - 32 Virtual buttons/keys + // $$$..$$$ - 48 Virtual buttons/keys // these are apparently used in g_gui and g_game and elsewhere IK_INVALID = 65535; @@ -118,6 +118,9 @@ const VK_PREV = VK_FIRSTKEY + 28; VK_NEXT = VK_FIRSTKEY + 29; VK_STRAFE = VK_FIRSTKEY + 30; + VK_LSTRAFE = VK_FIRSTKEY + 31; + VK_RSTRAFE = VK_FIRSTKEY + 32; + VK_PRINTSCR = VK_FIRSTKEY + 33; VK_LASTKEY = e_MaxKbdKeys + e_MaxJoys*e_MaxJoyKeys + e_MaxVirtKeys - 1; AX_MINUS = 0;