Function set_xkb_config

Source
pub fn set_xkb_config(xkb_config: XkbConfig)
Expand description

Sets the xkeyboard config.

This allows you to set several xkeyboard options like layout and rules.

See xkeyboard-config(7) for more information.

ยงExamples

input::set_xkb_config(XkbConfig::new()
    .with_layout("us,fr,ge")
    .with_options("ctrl:swapcaps,caps:shift"));