NAME
XkbResizeKeySyms - Change the number of symbols bound to a keySYNOPSIS
KeySym *
XkbResizeKeySyms (XkbDescRec *xkb, int
key, int needed);
ARGUMENTS
- xkb
- keyboard description to be changed
- key
- keycode for key to modify
- needed
- new number of keysyms required for key
DESCRIPTION
XkbResizeKeySyms reserves the space needed for needed keysyms and returns a pointer to the beginning of the new array that holds the keysyms. It adjusts the offset field of the key_sym_map entry for the key if necessary and can also change the syms, num_syms, and size_syms fields of xkb->map if it is necessary to reallocate the syms array. XkbResizeKeySyms does not modify either the width or number of groups associated with the key.SEE ALSO
XkbChangeTypesOfKey(3), XkbResizeKeyActions(3)NOTES
A change to the number of symbols bound to a key should be accompanied by a change in the number of actions bound to a key. Refer to XkbResizeKeyActions for more information on changing the number of actions bound to a key.libX11 1.8.4 | X Version 11 |