The layout index is a state component which detemines which <em>keyboard
layout</em> is active. These may be different alphabets, different key
arrangements, etc.
Layout indices are consecutive. The first layout has index 0.
Each layout is not required to have a name, and the names are not
guaranteed to be unique (though they are usually provided and unique).
Therefore, it is not safe to use the name as a unique identifier for a
layout. Layout names are case-sensitive.
Index of a keyboard layout.
The layout index is a state component which detemines which <em>keyboard layout</em> is active. These may be different alphabets, different key arrangements, etc.
Layout indices are consecutive. The first layout has index 0.
Each layout is not required to have a name, and the names are not guaranteed to be unique (though they are usually provided and unique). Therefore, it is not safe to use the name as a unique identifier for a layout. Layout names are case-sensitive.
Layouts are also called "groups" by XKB.
@sa xkb_keymap_num_layouts() xkb_keymap_num_layouts_for_key()