Not sure if the thread you are mentioning is this one, or if it is what you are trying to achieve by detecting the keyboard layout, but there is a patch for retrieving the key scancode of the last key pressed here (the scancode of a key is independent of the kbd layout): How to get current Input Language? . I’m still using it to trigger MIDI events when the user is playing on his computer keyboard, it works fine.
1 Like