Since updating to v1.1 the Keyboard class no longer seems to recognise that I have a UK keyboard. Prior to v1.1 everything worked fine (the `, @ and £ keys were in the rights place), but now it's basically assuming I have a US keyboard.
Is there anything I can do about this?
Edit: This is on Windows XP Pro SP2
I have a Danish keyboard, but if I go to the win xp International settings and select the UK layout, the LWJGL KeyboardTest seems to place at least @ and ` correctly, according to http://en.wikipedia.org/wiki/Keyboard_layout (The dos box doesn't show £ properly, because of code page issues). I assume the correct keyboard layout is selected?
- elias
Yeah, keyboard is definetely set as UK. And things aren't quite as I originally thought. Keyboard.getEventCharacter() actually returns the correct characters for all keys as far as I can see.
However the following keys no longer seem to respond to either Keyboard.isKeyDown() or Keyboard.getEventKey():
the `/¬ key (which used to respond as Keyboard.KEY_GRAVE - the '/@ key now responds as Keyboard.KEY_GRAVE)
the =/+ key (which used to respond as Keyboard.KEY_EQUALS)
the SysRq key
Alan
All three keys should now be properly mapped in the UK layout.
- elias
Cool - thanks.
I assume you mean in the next version.