Skip to main content

Module keymap

Module keymap 

Source
Expand description

evdev key codes to KeyCode positions.

evdev codes name physical key positions using US-layout labels, which is exactly what KeyCode means, so this is a straight table with no layout interpretation. What the key produces is a separate question answered by denise::InputEvent::Text: KeyCode::Semicolon is where ø lives on a Norwegian keyboard, and mapping it to a character here would be wrong on every layout but one.

Functions§

key_code
Translates a raw evdev key code.