Hello Guest

[CLOSED] isKeyDown always returns false for KEY_SYSRQ

  • 1 Replies
  • 3157 Views
[CLOSED] isKeyDown always returns false for KEY_SYSRQ
« on: September 03, 2012, 09:20:50 »
Key events work fine for KEY_SYSRQ (code 183), but isKeyDown(KEY_SYSRQ) always returns false.
Only tested on Windows with a UK layout.

*

Online spasi

  • *****
  • 2153
    • WebHotelier
Re: [BUG] isKeyDown always returns false for KEY_SYSRQ
« Reply #1 on: September 03, 2012, 19:32:43 »
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.