KeyCode for physical key
843804Dec 30 2004 — edited Dec 30 2004Hello folks
I'm trying to find a way to identify the physical key, without any layout mapping. I tried the KeyCode of KeyEvent, but it depends on the current layout (when I change the keyboard layout in Windows, the codes jump around). What's even worse is that once you switch to a non english keyboard layout, you start to get holes (key code 0) for keys formerly defined.
This is really bad for me, since it simply means that I can't use Java for my project.
Before I throw away all my code, does someone know a way to really idendify the key that was pressed?
Regards
Der Hinterwaeldler