Keyboard¶
Inherits |
Scancodes¶
InputActions uses scancodes only. On non-QWERTY layouts, scancodes may map to different keycodes than expected (e.g. on a QWERTZ layout, the y scancode
will map to the z keycode).
Shortcut triggers are not affected by the current keyboard layout, but keyboard input actions are, and will not work well if multiple layouts are in use.
The evtest utility can be used to obtain scancodes of pressed keys.