Function xkeysym::keysym

source ·
pub fn keysym(
    keycode: KeyCode,
    column: u8,
    min_keycode: KeyCode,
    keysyms_per_keycode: u8,
    keysyms: &[RawKeysym]
) -> Option<Keysym>
Expand description

Get the keyboard symbol from a keyboard code and its column.

min_keycode can be retrieved from the X11 setup, and keysyms_per_keycode and keysyms can be retrieved from the X11 server through the GetKeyboardMapping request.