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

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Sep 7 20:07:47 PDT 2021


teeemcee
2021-09-07 20:07:42 -0700 (Tue, 07 Sep 2021)
491
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
---
U   wip/allmodex.bas



More information about the Ohrrpgce mailing list