[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Slick Forums :: View topic - [BUG] hasFocus() and isKeyDown() issues
Slick Forums
http://slick.ninjacave.com/forum/

[BUG] hasFocus() and isKeyDown() issues
http://slick.ninjacave.com/forum/viewtopic.php?f=1&t=5342
Page 1 of 1

Author:  JoeK5142 [ Fri Aug 03, 2012 4:11 am ]
Post subject:  [BUG] hasFocus() and isKeyDown() issues


Author:  davedes [ Fri Aug 03, 2012 7:29 pm ]
Post subject:  Re: [BUG] hasFocus() and isKeyDown() issues

The first issue:
viewtopic.php?f=1&t=5260

The second issue sounds like another LWJGL bug, since hasFocus just calls Display.isActive.

So, in short... Neither of those are something we can fix on our end very easily.

Author:  tvg [ Tue Sep 18, 2012 1:46 pm ]
Post subject:  Re: [BUG] hasFocus() and isKeyDown() issues

I've found another issue that may be related to this. (Also, I think I already posted this here, but I can't find it anywhere. So forgive me, if I repost).

When I check input.isKeyDown on Shift or Ctrl keys, as soon as I press the key once, the isKeyDown method always returns true. This happens against the latest version of the dev branch. I verified the problem on a friends slick setup and he also could check, that the bug did not occur in the "stable" version published on the slick homepage.

This happens even if the window does not lose focus. I'm not sure which keys are all affected by this, I only found LCTRL, RCTRL, LSHIFT and RSHIFT are not working up until now.

Here is the test class I used to verify the problem outside of my project: http://pastebin.com/NUBZjAWK

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/