[Ohrrpgce] SVN: teeemcee/13489 Refactor keymaps. Allow each player to have keyboard keys bound to contr
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Sun Jan 28 15:56:46 PST 2024
teeemcee
2024-01-28 15:56:43 -0800 (Sun, 28 Jan 2024)
505
Refactor keymaps. Allow each player to have keyboard keys bound to controls
There are now functions for adding and removing keybinds.
If a keyboard key is bound to a player other than player 1 then it will no
longer count for "anykey" for player 1.
New terminology:
keybind: a scancode -> control code mapping
keymap: a set of keybinds for a single player
Added maxPlayers constant (= 4, although joystick commands still accept up to
player 15)
Added ccCode type (for cc* constants), and scJoy macro.
---
U wip/allmodex.bas
U wip/allmodex.bi
U wip/common.rbas
U wip/const.bi
U wip/game.bas
U wip/scancodes.bi
More information about the Ohrrpgce
mailing list