LavaUI docs

message KeyboardLayout

Control plane

message KeyboardLayout

One layout — or one variant of one — that this machine's xkb offers.

Flat rather than a layout with variants nested inside it: an entry with an empty variant is the layout itself, and the rest are its variants. A picker groups them by code in one pass, and the wire stays a plain list.

idl/lava.npidl:286

Fields

code: string

What goes in KeyboardSettings.layout: "us", "de", "ru".

idl/lava.npidl:288

description: string

What a person would call it: "English (US)", "German (Dvorak)".

idl/lava.npidl:292

variant: string

What goes in KeyboardSettings.variant; empty for the base layout.

idl/lava.npidl:290