Issue: "KEY_CODE", "KEY_PRESSED", and "KEYn" seemingly no longer function.
Versions Affected: v2.90 onward
Introduced in Version: v2.90
Operating System: Windows, DOS (2.93), likely others
Further Details
From what I've observed, It seems like "KEY_PRESSED", "KEY_CODE", and "KEYn" counters are pretty much non-functional in versions 2.90 and higher? No amount of anything I did would get them to change from a value of 0 despite the fact that I was able to get values for all pressed keys in the Debug Window. The only thing I can think of is that, perhaps, there's some sort of "enable code" I need to, uh, enable before they respond? Seems like an odd, undocumented change, if so.
I couldn't get "KEY_PRESSEDn" to work in versions 2.84c or 2.93, either, but it's plausible that I simply don't know how that one works. (I tried both 71 and 278 for "Page Up" with no luck.)
Related Issues
This post has been edited by Joseph Collins: 11 February 2024 - 08:04 AM