XGetModifierMapping

Syntax

XModifierKeymap *XGetModifierMapping(display)
      Display *display;


Arguments

display Specifies the connection to the X server.

Description

The XGetModifierMapping() function returns a pointer to a newly created XModifierKeymap structure that contains the keys being used as modifiers. The structure should be freed after use by calling XFreeModifiermap(). If only zero values appear in the set for any modifier, that modifier is disabled.

See also

XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XDisplayKeycodes(), XFree(), XFreeModifiermap(), XGetKeyboardMapping(), XInsertModifiermapEntry(), XNewModifiermap(), XSetModifierMapping(), XSetPointerMapping(), "Keyboard Encoding".
Christophe Tronche, ch@tronche.com