XChangeKeyboardControl(display, value_mask, values)
      Display *display;
      unsigned long value_mask;
      XKeyboardControl *values;


display Specifies the connection to the X server.
value_mask Specifies which controls to change. This mask is the bitwise inclusive OR of the valid control mask bits.
values Specifies one value for each bit set to 1 in the mask.


The XChangeKeyboardControl() function controls the keyboard characteristics defined by the XKeyboardControl structure. The value_mask argument specifies which values are to be changed.

XChangeKeyboardControl() can generate BadMatch and BadValue errors.


BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.

See also

XAutoRepeatOff(), XAutoRepeatOn(), XBell(), XChangeKeyboardMapping(), XGetKeyboardControl(), XQueryKeymap(), XSetPointerMapping(), "Keyboard and Pointer Settings".
Christophe Tronche, ch@tronche.com