LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: lightbringer on July 11, 2007, 12:15:35

Title: SysRq not working on Windows
Post by: lightbringer on July 11, 2007, 12:15:35
Hi guys,

ever since I updated to lwjgl 1.1, I've been having a problem with the SysRq key (which I use for screenshots normally) not generating the proper event. I ran the KeyboardTest, and it says "Checking Key:NONE" when I press SysRq. I checked the recent svn commit logs for Keyboard.java but didn't find anything relevant. The key is working fine in other applications. Could this be a bug?

My environment is JDK 1.5.0_09, Windows XP Pro SP2, and LWJGL 1.1
Title: Re: SysRq not working on Windows
Post by: Matzon on July 11, 2007, 12:24:22
what event did you usually get ?
Title: Re: SysRq not working on Windows
Post by: lightbringer on July 11, 2007, 12:45:10
Event 183.

I also ran the KeyboardTest in lwjgl 1.0 just now and it properly returns "Checking Key:SYSRQ", once as true when pressed and once as false as released.
Title: Re: SysRq not working on Windows
Post by: Matzon on July 11, 2007, 13:28:25
k, so elias broke something when he updated the keyboard 8)

I'll ping him when he gets back from vacation
Title: Re: SysRq not working on Windows
Post by: lightbringer on July 11, 2007, 13:31:25
Alright. I'm just happy it's not something on my end, for once.  :)
Title: Re: SysRq not working on Windows
Post by: HappyCat on July 26, 2007, 14:46:57
Just to say that in addition to SysReq I also don't get any response from the +/= key beside the backspace key, and the `/¬ key beneath the Esc key.

Edit: this is on 1.1 and I know `/¬ used to work in 1.0 'cos that's what I was using to bring down my console and I had to chance it  :)
Title: Re: SysRq not working on Windows
Post by: elias on July 29, 2007, 19:48:40
(Assuming US keyboard layout)

I've fixed the +/= and sysrq keys to match lwjgl 1.0. The ` key under esc gives me a KEY_GRAVE with lwjgl 1.1, the same as lwjgl 1.0. Are you using the US keyboard layout? lwjgl 1.1 pays more attention to key layouts than 1.0.

EDIT: Under the UK layout, ` under esc didn't work. It now maps to KEY_EQUALS like lwjgl 1.0.

- elias
Title: Re: SysRq not working on Windows
Post by: lightbringer on July 30, 2007, 02:59:01
Cheers  ;D