[Ohrrpgce] SVN: teeemcee/10794 clearkeys/[real_]clearkey no longer clear the key-down bit

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Thu Oct 25 21:47:51 PDT 2018


teeemcee
2018-10-25 21:47:51 -0700 (Thu, 25 Oct 2018)
543
clearkeys/[real_]clearkey no longer clear the key-down bit

I'm much happier to have them only clear new keypresses and key repeats
rather than key-down, which might even have caused a spurious new-keypress to be
detected on the next tick?

Everywhere that these functions were used only cared about clearing new key
presses anyway; and there's not even a clear need to clear key repeat, so maybe
that should just be removed for simplicity.

Also removed unneeded [real_]clear_newkeypress functions, and added
clear_key_repeat arg to clearkey.
---
U   wip/allmodex.bas
U   wip/allmodex.bi


More information about the Ohrrpgce mailing list