[Lua, 2.2.10rc1] gameControlDown doesn't detect some keys
Title.
For example: gameControlDown for GC_SYSTEMMENU
, GC_CONSOLE
, GC_TALKKEY
and GC_TALKKEY
do not return 1. I assume that's because it opens some sort of menu before Lua actually returns the value it corresponds.
The talk keys return 1 when hit if in a playing gamestate that doesn't have a chat box.
In the same vein, some keys such as GC_SCREENSHOT
, GC_VIEWPOINT
and GC_PAUSE
(and a few others, I forgot to keep track of them) do not return 1, not even if not unbound (i.e. making the default key for that action do its thing).
INPUTTEST.wad
This test mod prints all game controls in a PreThinkFrame hook, concatenated into a single string and separated by a space every 5 controls for readability, then followed by the current leveltime.
If a particular control hasn't been pressed during the current session, it will be represented as "-".