Physical key code

Is there an easy way to get a physical key code from a KeyPress.

I mean a code which would be characteristical for the physical location
of the Key and independantly from the Keyboard setting (QWERTZ,

Thanx for any answers.


Is there anything new on this?

No, and I’ve never seen any platform-specific code to do it, either. It might be possible, but haven’t a clue how.

thanks for the answer

do you know any possibility, to check which the current keyboard layout (qwerty, qwertz, etc. ) is?

Sorry, no idea. There must be deeply-hidden OS calls for that sort of thing, but I’ve never used them.