parent
7c7e434151
commit
6eb5929d48
6
README
6
README
|
@ -4,10 +4,10 @@ xkbcommon
|
||||||
libxkbcommon is a keymap compiler and support library which processes a
|
libxkbcommon is a keymap compiler and support library which processes a
|
||||||
reduced subset of keymaps as defined by the XKB specification. Primarily,
|
reduced subset of keymaps as defined by the XKB specification. Primarily,
|
||||||
a keymap is created from a set of Rules/Model/Layout/Variant/Options names,
|
a keymap is created from a set of Rules/Model/Layout/Variant/Options names,
|
||||||
processed through an XKB ruleset, and compiled into a struct xkb_desc, which
|
processed through an XKB ruleset, and compiled into a struct xkb_keymap,
|
||||||
is the base type for all xkbcommon operations.
|
which is the base type for all xkbcommon operations.
|
||||||
|
|
||||||
From an xkb_desc, an xkb_state object is created which holds the current
|
From an xkb_keymap, an xkb_state object is created which holds the current
|
||||||
state of all modifiers, groups, LEDs, etc, relating to that keymap. All
|
state of all modifiers, groups, LEDs, etc, relating to that keymap. All
|
||||||
key events must be fed into the xkb_state object using xkb_state_update_key.
|
key events must be fed into the xkb_state object using xkb_state_update_key.
|
||||||
Once this is done, the xkb_state object will be properly updated, and the
|
Once this is done, the xkb_state object will be properly updated, and the
|
||||||
|
|
Loading…
Reference in New Issue