LavaUI docs

message KeyboardSettings

Control plane

message KeyboardSettings

The keyboard, as xkb is currently set up.

Named after the xkb_rule_names fields rather than prettified, because these are the strings setxkbmap takes and the strings the config file stores: an app showing a picker still has to write "colemak" in the end, and a layer of nicer names in between is a translation table that can be wrong in both directions.

idl/lava.npidl:262

Fields

layout: string

Comma-separated, as xkb takes them: "us", or "us,ru" for two layouts with a switching key in options. Empty means xkb's own default.

idl/lava.npidl:265

model: string

Not documented.

idl/lava.npidl:269

modKey: string

Which modifier the compositor's own shortcuts (and mod+drag) use: "alt" or "super" (the Win key). Anything else is treated as Alt. Defaults to "alt".

idl/lava.npidl:278

options: string

Comma-separated xkb options: "ctrl:nocaps", "grp:alt_shift_toggle".

idl/lava.npidl:268

repeatDelay: i32

Not documented.

idl/lava.npidl:274

repeatRate: i32

Keys per second once repeating starts, and the milliseconds a key is held before it does.

idl/lava.npidl:273

rules: string

Not documented.

idl/lava.npidl:270

variant: string

Not documented.

idl/lava.npidl:266