LWJGL
May 20, 2013, 15:12:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [CLOSED] Linux - Keyboard "special" keys not handled correctly !  (Read 1235 times)
quarante-sept
Newbie
*
Posts: 1


« on: April 23, 2011, 09:51:05 »

Hi,

Running the KeyboardTest, I've noticed the  numbers keys (not the numpad ones) returns KEY_NONE.
Whereas it gives the correct code when pressing SHIFT.

Here is the output when I press '1' (got a AZERTY keyboard so the character is correct)
Code:
Checking key:NONE
Pressed:true
Key character code: 0x26
Key character: &
Repeat event: false

And when I press 'SHIFT + 1'

Code:
Checking key:LSHIFT
Pressed:true
Key character code: 0x0
Key character:
Repeat event: false

Checking key:1
Pressed:true
Key character code: 0x31
Key character: 1
Repeat event: false

I don't have thoses strange behaviours under Windows

EDIT: It seems also that there is no repeated event for SHIFT, ALT and CTRL (with repeated event enabled of course)

PS: please forgive my bad english skills
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #1 on: September 26, 2011, 04:55:31 »

likely this issue is fixed by this fix.

Please do try latest nightly builds of LWJGL to confirm.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!