Keyboard Layout

In my test app, jinput reports key presses for us american keyboard layout only regardless of physical layout and windows keyboard layout settings. Is this a bug or a known shortcoming. Any plans to resolve this?

System specs:

German Windows XP
German keyboard layout
Microsoft Natural Keyboard pro via USB

Hi

How new is the version of jinput you are using? (when did you download or compile it), does the Webstart demo do the same thing?

Cheers

Endolf

I am using the version bundled with LWJGL. I can’t interpret the output of the webstart demo, so I will try my own testcase with the new release at home.

Looking in their subversion repository, they haven’t updated it for 6 months, so I’m thinking that is using the direct input plug-in for mouse and keyboard updates. Direct x according to this article doesn’t do any keyboard mapping, so you’ll get US layout only. The new Raw plug-in I think is mapped as per your keyboard setup.

It should have a window with the name of your keyboard on it, and a list of keys, and pressing the keys on the keyboard should show the right things.

Let me know how your testing with the latest version goes, I’d be interested in some feedback.

Endolf

I have updated lwjgl with latest jinput - expect a release any day now…