Function set_xkb_keymap

Source
pub fn set_xkb_keymap(keymap: impl ToString)
Expand description

Sets the XKB keymap.

ยงExamples

input::set_xkb_keymap("keymap here...");

// From a file
input::set_xkb_keymap(std::fs::read_to_string("/path/to/keymap.xkb")?);