[CLOSED] isKeyDown always returns false for KEY_SYSRQ

Started by thogil, September 03, 2012, 09:20:50

Previous topic - Next topic

thogil

Key events work fine for KEY_SYSRQ (code 183), but isKeyDown(KEY_SYSRQ) always returns false.
Only tested on Windows with a UK layout.

spasi

This is the standard behavior on Windows. SYSRQ only generates KEYUP events, so there's no way for isKeyDown to ever return true. LWJGL events work as expected because a dummy KEYDOWN event is generated when LWJGL receives a KEYUP for SYSRQ.