[Ohrrpgce] SVN: teeemcee/11677 gfx_sdl2: fix numpad mapping by reports the state of Capslock and Numloc

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Apr 3 23:30:27 PDT 2020


teeemcee
2020-04-03 23:30:27 -0700 (Fri, 03 Apr 2020)
342
gfx_sdl2: fix numpad mapping by reports the state of Capslock and Numlock instead of the physical state

We need to know whether numlock is on in order to know to disable mapping of
numpad .0-9 to other keys.

It might actually be nice to have both modifier state and physical state
reported separately the way SDL2 does it, but who needs it.
---
U   wip/gfx_sdl2.bas


More information about the Ohrrpgce mailing list