[Ohrrpgce] SVN: teeemcee/12400 Fix some joystick input edgecases

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Sep 8 08:30:23 PDT 2021


teeemcee
2021-09-08 08:30:13 -0700 (Wed, 08 Sep 2021)
527
Fix some joystick input edgecases

-fix keyboard keypresses (and also scAny) being assigned to all players, not
 just player 1 and 0 (all players), as seen by script commands
-keyval_ex(scAny) and player_keyval(scAny) are no now consistent that they check
 only joystick buttons that are mapped to an action (carray()) *

Added KeyboardState/JoystickState.anykey() functions.

*I had enormous difficulty deciding whether it should check all buttons, but I
 have a gamepad with a stuck button

(Copied from r12391 on wip branch)
---
U   rel/hrodvitnir/allmodex.bas



More information about the Ohrrpgce mailing list