Shortcuts should not depend on current layout. Layout-independent key codes can be obtained from: 1. event.xkey.keycode on X11. 2. [event keyCode] on Cocoa. 3. wParam on Windows.
Shortcuts should not depend on current layout.
Layout-independent key codes can be obtained from: