[Ohrrpgce] SVN: teeemcee/10778 New setkeys-based joystick state tracking. Add JoystickState, JoyScancod

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Oct 23 05:12:53 PDT 2018


teeemcee
2018-10-23 05:12:53 -0700 (Tue, 23 Oct 2018)
577
New setkeys-based joystick state tracking. Add JoystickState, JoyScancode

This is a replacement for SUB control()-based polling the joystick,
which has crappy detection of new button presses and key repeat which behaves
differently from setkeys/keyval. These differences are the cause of
joysticks not working correctly in various menus.

This new code treats keyboard buttons and joystick buttons the same,
also getting us most of the way to recording and replay of joystick input.

There's no way yet to actually read this state, or to support a variable
number of joysticks
---
U   wip/allmodex.bas
U   wip/scancodes.bi


More information about the Ohrrpgce mailing list