fix broken nroff coding for code comments

the comments /* */ are code as /\(**  */ that does not work.
the coding in other X11 man pages is /\&* */ so we do the same here.
This commit is contained in:
Walter Harms 2020-11-28 17:49:25 +01:00
parent 7bdeae239b
commit daa106927f
85 changed files with 1054 additions and 1054 deletions

View file

@ -121,16 +121,16 @@ converted to an unsigned int.
.nf
typedef struct _XkbCtrlsAction {
unsigned char type; /\(** XkbSA_SetControls, XkbSA_LockControls */
unsigned char flags; /\(** with type, controls enabling and disabling
unsigned char type; /\&* XkbSA_SetControls, XkbSA_LockControls */
unsigned char flags; /\&* with type, controls enabling and disabling
of controls */
unsigned char ctrls3; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls3; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls2; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls1; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls0; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean
controls */
} XkbCtrlsAction;
.fi

View file

@ -85,31 +85,31 @@ extension in an XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
typedef struct {
unsigned short led_class; /\(** class for this LED device*/
unsigned short led_id; /\(** ID for this LED device */
unsigned int phys_indicators; /\(** bits for which LEDs physically present */
unsigned int maps_present; /\(** bits for which LEDs have maps in maps */
unsigned int names_present; /\(** bits for which LEDs are in names */
unsigned int state; /\(** 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\(** names for LEDs */
XkbIndicatorMapRec maps; /\(** indicator maps for each LED */
unsigned short led_class; /\&* class for this LED device*/
unsigned short led_id; /\&* ID for this LED device */
unsigned int phys_indicators; /\&* bits for which LEDs physically present */
unsigned int maps_present; /\&* bits for which LEDs have maps in maps */
unsigned int names_present; /\&* bits for which LEDs are in names */
unsigned int state; /\&* 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\&* names for LEDs */
XkbIndicatorMapRec maps; /\&* indicator maps for each LED */
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
.fi

View file

@ -86,8 +86,8 @@ function.
.nf
typedef struct _XkbColor {
unsigned int pixel; /\(** color */
char * spec; /\(** color name */
unsigned int pixel; /\&* color */
char * spec; /\&* color name */
} XkbColorRec,*XkbColorPtr;
.fi

View file

@ -64,11 +64,11 @@ number of keys to a row, use
.LP
.nf
typedef struct _XkbKey { /\(** key in a row */
XkbKeyNameRec name; /\(** key name */
short gap; /\(** gap in mm/10 from previous key in row */
unsigned char shape_ndx; /\(** index of shape for key */
unsigned char color_ndx; /\(** index of color for key body */
typedef struct _XkbKey { /\&* key in a row */
XkbKeyNameRec name; /\&* key name */
short gap; /\&* gap in mm/10 from previous key in row */
unsigned char shape_ndx; /\&* index of shape for key */
unsigned char color_ndx; /\&* index of color for key body */
} XkbKeyRec, *XkbKeyPtr;
.fi

View file

@ -77,8 +77,8 @@ function.
.nf
typedef struct {
char real[XkbKeyNameLength]; /\(** this key name must be in the keys array */
char alias[XkbKeyNameLength]; /\(** symbolic key name as alias for the key */
char real[XkbKeyNameLength]; /\&* this key name must be in the keys array */
char alias[XkbKeyNameLength]; /\&* symbolic key name as alias for the key */
} XkbKeyAliasRec,*XkbKeyAliasPtr;
.fi
.SH "SEE ALSO"

View file

@ -71,10 +71,10 @@ space. To allocate space for an arbitrary number of outlines to a shape, use
.nf
typedef struct _XkbOutline {
unsigned short num_points; /\(** number of points in the outline */
unsigned short sz_points; /\(** size of the points array */
unsigned short corner_radius; /\(** draw corners as circles with this radius */
XkbPointPtr points; /\(** array of points defining the outline */
unsigned short num_points; /\&* number of points in the outline */
unsigned short sz_points; /\&* size of the points array */
unsigned short corner_radius; /\&* draw corners as circles with this radius */
XkbPointPtr points; /\&* array of points defining the outline */
} XkbOutlineRec, *XkbOutlinePtr;
.fi

View file

@ -78,12 +78,12 @@ function.
.nf
typedef struct _XkbOverlayRec {
Atom name; /\(** overlay name */
XkbSectionPtr section_under; /\(** the section under this overlay */
unsigned short num_rows; /\(** number of rows in the rows array */
unsigned short sz_rows; /\(** size of the rows array */
XkbOverlayRowPtr rows; /\(** array of rows in the overlay */
XkbBoundsPtr bounds; /\(** bounding box for the overlay */
Atom name; /\&* overlay name */
XkbSectionPtr section_under; /\&* the section under this overlay */
unsigned short num_rows; /\&* number of rows in the rows array */
unsigned short sz_rows; /\&* size of the rows array */
XkbOverlayRowPtr rows; /\&* array of rows in the overlay */
XkbBoundsPtr bounds; /\&* bounding box for the overlay */
} XkbOverlayRec,*XkbOverlayPtr;
.fi

View file

@ -74,8 +74,8 @@ returns NULL.
.nf
typedef struct _XkbOverlayKey {
XkbKeyNameRec over; /\(** name of this overlay key */
XkbKeyNameRec under; /\(** name of the key under this overlay key */
XkbKeyNameRec over; /\&* name of this overlay key */
XkbKeyNameRec under; /\&* name of the key under this overlay key */
} XkbOverlayKeyRec,*XkbOverlayKeyPtr;
.fi

View file

@ -77,10 +77,10 @@ space for the overlay.
.nf
typedef struct _XkbOverlayRow {
unsigned short row_under; /\(** index into the row under this overlay row */
unsigned short num_keys; /\(** number of keys in the keys array */
unsigned short sz_keys; /\(** size of the keys array */
XkbOverlayKeyPtr keys; /\(** array of keys in the overlay row */
unsigned short row_under; /\&* index into the row under this overlay row */
unsigned short num_keys; /\&* number of keys in the keys array */
unsigned short sz_keys; /\&* size of the keys array */
XkbOverlayKeyPtr keys; /\&* array of keys in the overlay row */
} XkbOverlayRowRec,*XkbOverlayRowPtr;
.fi

View file

@ -77,8 +77,8 @@ function.
.nf
typedef struct _XkbProperty {
char * name; /\(** property name */
char * value; /\(** property value */
char * name; /\&* property name */
char * value; /\&* property value */
} XkbPropertyRec,*XkbPropertyPtr;
.fi

View file

@ -91,23 +91,23 @@ a geometry, use
.nf
typedef struct _XkbSection {
Atom name; /\(** section name */
unsigned char priority; /\(** drawing priority, 0=>highest, 255=>lowest */
short top; /\(** top coordinate of section origin */
short left; /\(** left coordinate of row origin */
unsigned short width; /\(** section width, in mm/10 */
unsigned short height; /\(** section height, in mm/10 */
short angle; /\(** angle of section rotation, counterclockwise */
unsigned short num_rows; /\(** number of rows in the rows array */
unsigned short num_doodads; /\(** number of doodads in the doodads array */
unsigned short num_overlays; /\(** number of overlays in the overlays array */
unsigned short sz_rows; /\(** size of the rows array */
unsigned short sz_doodads; /\(** size of the doodads array */
unsigned short sz_overlays; /\(** size of the overlays array */
XkbRowPtr rows; /\(** section rows array */
XkbDoodadPtr doodads; /\(** section doodads array */
XkbBoundsRec bounds; /\(** bounding box for the section, before rotation*/
XkbOverlayPtr overlays; /\(** section overlays array */
Atom name; /\&* section name */
unsigned char priority; /\&* drawing priority, 0=>highest, 255=>lowest */
short top; /\&* top coordinate of section origin */
short left; /\&* left coordinate of row origin */
unsigned short width; /\&* section width, in mm/10 */
unsigned short height; /\&* section height, in mm/10 */
short angle; /\&* angle of section rotation, counterclockwise */
unsigned short num_rows; /\&* number of rows in the rows array */
unsigned short num_doodads; /\&* number of doodads in the doodads array */
unsigned short num_overlays; /\&* number of overlays in the overlays array */
unsigned short sz_rows; /\&* size of the rows array */
unsigned short sz_doodads; /\&* size of the doodads array */
unsigned short sz_overlays; /\&* size of the overlays array */
XkbRowPtr rows; /\&* section rows array */
XkbDoodadPtr doodads; /\&* section doodads array */
XkbBoundsRec bounds; /\&* bounding box for the section, before rotation*/
XkbOverlayPtr overlays; /\&* section overlays array */
} XkbSectionRec, *XkbSectionPtr;
.fi

View file

@ -75,13 +75,13 @@ number of geometry shapes, use
.nf
typedef struct _XkbShape {
Atom name; /\(** shape's name */
unsigned short num_outlines; /\(** number of outlines for the shape */
unsigned short sz_outlines; /\(** size of the outlines array */
XkbOutlinePtr outlines; /\(** array of outlines for the shape */
XkbOutlinePtr approx; /\(** pointer into the array to the approximating outline */
XkbOutlinePtr primary; /\(** pointer into the array to the primary outline */
XkbBoundsRec bounds; /\(** bounding box for the shape; encompasses all outlines */
Atom name; /\&* shape's name */
unsigned short num_outlines; /\&* number of outlines for the shape */
unsigned short sz_outlines; /\&* size of the outlines array */
XkbOutlinePtr outlines; /\&* array of outlines for the shape */
XkbOutlinePtr approx; /\&* pointer into the array to the approximating outline */
XkbOutlinePtr primary; /\&* pointer into the array to the primary outline */
XkbBoundsRec bounds; /\&* bounding box for the shape; encompasses all outlines */
} XkbShapeRec, *XkbShapePtr;
.fi

View file

@ -78,12 +78,12 @@ is NULL, or BadAlloc if errors are encountered when attempting to allocate stora
.nf
typedef struct {
KeySym sym; /\(** keysym of interest or NULL */
unsigned char flags; /\(** XkbSI_AutoRepeat, XkbSI_LockingKey */
unsigned char match; /\(** specifies how mods is interpreted */
unsigned char mods; /\(** modifier bits, correspond to eight real modifiers */
unsigned char virtual_mod; /\(** 1 modifier to add to key virtual mod map */
XkbAnyAction act; /\(** action to bind to symbol position on key */
KeySym sym; /\&* keysym of interest or NULL */
unsigned char flags; /\&* XkbSI_AutoRepeat, XkbSI_LockingKey */
unsigned char match; /\&* specifies how mods is interpreted */
unsigned char mods; /\&* modifier bits, correspond to eight real modifiers */
unsigned char virtual_mod; /\&* 1 modifier to add to key virtual mod map */
XkbAnyAction act; /\&* action to bind to symbol position on key */
} XkbSymInterpretRec,*XkbSymInterpretPtr;
.fi

View file

@ -69,31 +69,31 @@ extension in an XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
typedef struct {
unsigned short led_class; /\(** class for this LED device*/
unsigned short led_id; /\(** ID for this LED device */
unsigned int phys_indicators; /\(** bits for which LEDs physically present */
unsigned int maps_present; /\(** bits for which LEDs have maps in maps */
unsigned int names_present; /\(** bits for which LEDs are in names */
unsigned int state; /\(** 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\(** names for LEDs */
XkbIndicatorMapRec maps; /\(** indicator maps for each LED */
unsigned short led_class; /\&* class for this LED device*/
unsigned short led_id; /\&* ID for this LED device */
unsigned int phys_indicators; /\&* bits for which LEDs physically present */
unsigned int maps_present; /\&* bits for which LEDs have maps in maps */
unsigned int names_present; /\&* bits for which LEDs are in names */
unsigned int state; /\&* 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\&* names for LEDs */
XkbIndicatorMapRec maps; /\&* indicator maps for each LED */
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
.fi
.SH "SEE ALSO"

View file

@ -57,31 +57,31 @@ extension in an XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
typedef struct {
unsigned short led_class; /\(** class for this LED device*/
unsigned short led_id; /\(** ID for this LED device */
unsigned int phys_indicators; /\(** bits for which LEDs physically present */
unsigned int maps_present; /\(** bits for which LEDs have maps in maps */
unsigned int names_present; /\(** bits for which LEDs are in names */
unsigned int state; /\(** 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\(** names for LEDs */
XkbIndicatorMapRec maps; /\(** indicator maps for each LED */
unsigned short led_class; /\&* class for this LED device*/
unsigned short led_id; /\&* ID for this LED device */
unsigned int phys_indicators; /\&* bits for which LEDs physically present */
unsigned int maps_present; /\&* bits for which LEDs have maps in maps */
unsigned int names_present; /\&* bits for which LEDs are in names */
unsigned int state; /\&* 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\&* names for LEDs */
XkbIndicatorMapRec maps; /\&* indicator maps for each LED */
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
.fi
@ -89,12 +89,12 @@ Each indicator has its own set of attributes that specify whether clients can ex
.nf
typedef struct {
unsigned char flags; /\(** how the indicator can be changed */
unsigned char which_groups; /\(** match criteria for groups */
unsigned char groups; /\(** which keyboard groups the indicator watches */
unsigned char which_mods; /\(** match criteria for modifiers */
XkbModsRec mods; /\(** which modifiers the indicator watches */
unsigned int ctrls; /\(** which controls the indicator watches */
unsigned char flags; /\&* how the indicator can be changed */
unsigned char which_groups; /\&* match criteria for groups */
unsigned char groups; /\&* which keyboard groups the indicator watches */
unsigned char which_mods; /\&* match criteria for modifiers */
XkbModsRec mods; /\&* which modifiers the indicator watches */
unsigned int ctrls; /\&* which controls the indicator watches */
} XkbIndicatorMapRec, *XkbIndicatorMapPtr;
.fi

View file

@ -233,12 +233,12 @@ The XkbSymInterpretRec structure specifies a symbol interpretation:
.nf
typedef struct {
KeySym sym; /\(** keysym of interest or NULL */
unsigned char flags; /\(** XkbSI_AutoRepeat, XkbSI_LockingKey */
unsigned char match; /\(** specifies how mods is interpreted */
unsigned char mods; /\(** modifier bits, correspond to eight real modifiers */
unsigned char virtual_mod; /\(** 1 modifier to add to key virtual mod map */
XkbAnyAction act; /\(** action to bind to symbol position on key */
KeySym sym; /\&* keysym of interest or NULL */
unsigned char flags; /\&* XkbSI_AutoRepeat, XkbSI_LockingKey */
unsigned char match; /\&* specifies how mods is interpreted */
unsigned char mods; /\&* modifier bits, correspond to eight real modifiers */
unsigned char virtual_mod; /\&* 1 modifier to add to key virtual mod map */
XkbAnyAction act; /\&* action to bind to symbol position on key */
} XkbSymInterpretRec,*XkbSymInterpretPtr;
.fi
@ -303,7 +303,7 @@ and
are ignored and the symbol matches a condition where no modifiers are set.
.nf
\&#define XkbSI_LevelOneOnly (0x80) /\(** use mods + match only if sym is level 1 */
\&#define XkbSI_LevelOneOnly (0x80) /\&* use mods + match only if sym is level 1 */
.fi
If no matching symbol interpretation is found, the server uses a default
@ -343,8 +343,8 @@ If the matching symbol is in position G1L1 of the key, two bits in the flags fie
additional behavior modifications:
.nf
\&#define XkbSI_AutoRepeat (1<<0) /\(** key repeats if sym is in position G1L1 */
\&#define XkbSI_LockingKey (1<<1) /\(** set KB_Lock behavior if sym is in psn G1L1 */
\&#define XkbSI_AutoRepeat (1<<0) /\&* key repeats if sym is in position G1L1 */
\&#define XkbSI_LockingKey (1<<1) /\&* set KB_Lock behavior if sym is in psn G1L1 */
.fi
If the Xkb keyboard map for the key does not have its ExplicitAutoRepeat control set, its auto repeat behavior

View file

@ -289,22 +289,22 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd
*/
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep
*/
} XkbBellNotifyEvent;

View file

@ -289,22 +289,22 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd
*/
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep
*/
} XkbBellNotifyEvent;

View file

@ -320,11 +320,11 @@ The XkbControlsChangesRec structure is defined as follows:
.nf
typedef struct _XkbControlsChanges {
unsigned int changed_ctrls; /\(** bits indicating changed control data
unsigned int changed_ctrls; /\&* bits indicating changed control data
*/
unsigned int enabled_ctrls_changes; /\(** bits indicating enabled/disabled
unsigned int enabled_ctrls_changes; /\&* bits indicating enabled/disabled
controls */
Bool num_groups_changed; /\(** True if number of keyboard groups
Bool num_groups_changed; /\&* True if number of keyboard groups
changed */
} XkbControlsChangesRec,*XkbControlsChangesPtr;

View file

@ -63,9 +63,9 @@ local copy of an Xkb extension device configuration. The changes structure is de
.nf
typedef struct _XkbDeviceChanges {
unsigned int changed; /\(** bits indicating what has changed */
unsigned short first_btn; /\(** number of first button which changed, if any */
unsigned short num_btns; /\(** number of buttons that have changed */
unsigned int changed; /\&* bits indicating what has changed */
unsigned short first_btn; /\&* number of first button which changed, if any */
unsigned short num_btns; /\&* number of buttons that have changed */
XkbDeviceLedChangesRec leds;
} XkbDeviceChangesRec,*XkbDeviceChangesPtr;

View file

@ -138,27 +138,27 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi

View file

@ -132,15 +132,15 @@ Both types of indicator events use the same structure:
.nf
typedef struct _XkbIndicatorNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** specifies state or map notify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd*/
unsigned int changed; /\(** mask of indicators with new state or map */
unsigned int state; /\(** current state of all indicators */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* specifies state or map notify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd*/
unsigned int changed; /\&* mask of indicators with new state or map */
unsigned int state; /\&* current state of all indicators */
} XkbIndicatorNotifyEvent;
.fi

View file

@ -92,32 +92,32 @@ and clients.
.nf
typedef struct _XkbMapChanges {
unsigned short changed; /\(** identifies valid components in
unsigned short changed; /\&* identifies valid components in
structure */
KeyCode min_key_code; /\(** lowest numbered keycode for device
KeyCode min_key_code; /\&* lowest numbered keycode for device
*/
KeyCode max_key_code; /\(** highest numbered keycode for device
KeyCode max_key_code; /\&* highest numbered keycode for device
*/
unsigned char first_type; /\(** index of first key type modified */
unsigned char num_types; /\(** # types modified */
KeyCode first_key_sym; /\(** first key whose key_sym_map changed
unsigned char first_type; /\&* index of first key type modified */
unsigned char num_types; /\&* # types modified */
KeyCode first_key_sym; /\&* first key whose key_sym_map changed
*/
unsigned char num_key_syms; /\(** # key_sym_map entries changed */
KeyCode first_key_act; /\(** first key whose key_acts entry
unsigned char num_key_syms; /\&* # key_sym_map entries changed */
KeyCode first_key_act; /\&* first key whose key_acts entry
changed */
unsigned char num_key_acts; /\(** # key_acts entries changed */
KeyCode first_key_behavior; /\(** first key whose behaviors changed */
unsigned char num_key_behaviors; /\(** # behaviors entries changed */
KeyCode first_key_explicit; /\(** first key whose explicit entry
unsigned char num_key_acts; /\&* # key_acts entries changed */
KeyCode first_key_behavior; /\&* first key whose behaviors changed */
unsigned char num_key_behaviors; /\&* # behaviors entries changed */
KeyCode first_key_explicit; /\&* first key whose explicit entry
changed */
unsigned char num_key_explicit; /\(** # explicit entries changed */
KeyCode first_modmap_key; /\(** first key whose modmap entry changed
unsigned char num_key_explicit; /\&* # explicit entries changed */
KeyCode first_modmap_key; /\&* first key whose modmap entry changed
*/
unsigned char num_modmap_keys; /\(** # modmap entries changed */
KeyCode first_vmodmap_key; /\(** first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\(** # vmodmap entries changed */
unsigned char pad1; /\(** reserved */
unsigned short vmods; /\(** mask indicating which vmods changed
unsigned char num_modmap_keys; /\&* # modmap entries changed */
KeyCode first_vmodmap_key; /\&* first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\&* # vmodmap entries changed */
unsigned char pad1; /\&* reserved */
unsigned short vmods; /\&* mask indicating which vmods changed
*/
} XkbMapChangesRec,*XkbMapChangesPtr;

View file

@ -77,25 +77,25 @@ effectively reduces the amount of traffic sent to the server:
.nf
typedef struct _XkbNameChanges {
unsigned int changed; /\(** name components that have changed
unsigned int changed; /\&* name components that have changed
*/
unsigned char first_type; /\(** first key type with a new name */
unsigned char num_types; /\(** number of types with new names */
unsigned char first_lvl; /\(** first key type with new level
unsigned char first_type; /\&* first key type with a new name */
unsigned char num_types; /\&* number of types with new names */
unsigned char first_lvl; /\&* first key type with new level
names */
unsigned char num_lvls; /\(** number of key types with new level
unsigned char num_lvls; /\&* number of key types with new level
names */
unsigned char num_aliases; /\(** if key aliases changed, total
unsigned char num_aliases; /\&* if key aliases changed, total
number of key aliases */
unsigned char num_rg; /\(** if radio groups changed, total
unsigned char num_rg; /\&* if radio groups changed, total
number of radio groups */
unsigned char first_key; /\(** first key with a new name */
unsigned char num_keys; /\(** number of keys with new names */
unsigned short changed_vmods; /\(** mask of virtual modifiers for
unsigned char first_key; /\&* first key with a new name */
unsigned char num_keys; /\&* number of keys with new names */
unsigned short changed_vmods; /\&* mask of virtual modifiers for
which names have changed */
unsigned long changed_indicators; /\(** mask of indicators for which names
unsigned long changed_indicators; /\&* mask of indicators for which names
were changed */
unsigned char changed_groups; /\(** mask of groups for which names
unsigned char changed_groups; /\&* mask of groups for which names
were changed */
} XkbNameChangesRec, *XkbNameChangesPtr

View file

@ -155,32 +155,32 @@ components and to reduce the amount of traffic between the server and clients.
.nf
typedef struct _XkbMapChanges {
unsigned short changed; /\(** identifies valid components in
unsigned short changed; /\&* identifies valid components in
structure */
KeyCode min_key_code; /\(** lowest numbered keycode for device
KeyCode min_key_code; /\&* lowest numbered keycode for device
*/
KeyCode max_key_code; /\(** highest numbered keycode for device
KeyCode max_key_code; /\&* highest numbered keycode for device
*/
unsigned char first_type; /\(** index of first key type modified */
unsigned char num_types; /\(** # types modified */
KeyCode first_key_sym; /\(** first key whose key_sym_map changed
unsigned char first_type; /\&* index of first key type modified */
unsigned char num_types; /\&* # types modified */
KeyCode first_key_sym; /\&* first key whose key_sym_map changed
*/
unsigned char num_key_syms; /\(** # key_sym_map entries changed */
KeyCode first_key_act; /\(** first key whose key_acts entry
unsigned char num_key_syms; /\&* # key_sym_map entries changed */
KeyCode first_key_act; /\&* first key whose key_acts entry
changed */
unsigned char num_key_acts; /\(** # key_acts entries changed */
KeyCode first_key_behavior; /\(** first key whose behaviors changed */
unsigned char num_key_behaviors; /\(** # behaviors entries changed */
KeyCode first_key_explicit; /\(** first key whose explicit entry
unsigned char num_key_acts; /\&* # key_acts entries changed */
KeyCode first_key_behavior; /\&* first key whose behaviors changed */
unsigned char num_key_behaviors; /\&* # behaviors entries changed */
KeyCode first_key_explicit; /\&* first key whose explicit entry
changed */
unsigned char num_key_explicit; /\(** # explicit entries changed */
KeyCode first_modmap_key; /\(** first key whose modmap entry changed
unsigned char num_key_explicit; /\&* # explicit entries changed */
KeyCode first_modmap_key; /\&* first key whose modmap entry changed
*/
unsigned char num_modmap_keys; /\(** # modmap entries changed */
KeyCode first_vmodmap_key; /\(** first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\(** # vmodmap entries changed */
unsigned char pad1; /\(** reserved */
unsigned short vmods; /\(** mask indicating which vmods changed
unsigned char num_modmap_keys; /\&* # modmap entries changed */
KeyCode first_vmodmap_key; /\&* first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\&* # vmodmap entries changed */
unsigned char pad1; /\&* reserved */
unsigned short vmods; /\&* mask indicating which vmods changed
*/
} XkbMapChangesRec,*XkbMapChangesPtr;

View file

@ -62,18 +62,18 @@ If you add or delete a key to or from a row, or if you update the shape of one o
.nf
typedef struct _XkbShape {
Atom name; /\(** shape's name */
unsigned short num_outlines; /\(** number of outlines for the shape */
unsigned short sz_outlines; /\(** size of the outlines array */
XkbOutlinePtr outlines; /\(** array of outlines for the shape */
XkbOutlinePtr approx; /\(** pointer into the array to the approximating outline */
XkbOutlinePtr primary; /\(** pointer into the array to the primary outline */
XkbBoundsRec bounds; /\(** bounding box for the shape; encompasses all outlines */
Atom name; /\&* shape's name */
unsigned short num_outlines; /\&* number of outlines for the shape */
unsigned short sz_outlines; /\&* size of the outlines array */
XkbOutlinePtr outlines; /\&* array of outlines for the shape */
XkbOutlinePtr approx; /\&* pointer into the array to the approximating outline */
XkbOutlinePtr primary; /\&* pointer into the array to the primary outline */
XkbBoundsRec bounds; /\&* bounding box for the shape; encompasses all outlines */
} XkbShapeRec, *XkbShapePtr;
typedef struct _XkbBounds {
short x1,y1; /\(** upper left corner of the bounds, in mm/10 */
short x2,y2; /\(** lower right corner of the bounds, in mm/10 */
short x1,y1; /\&* upper left corner of the bounds, in mm/10 */
short x2,y2; /\&* lower right corner of the bounds, in mm/10 */
} XkbBoundsRec, *XkbBoundsPtr;
.fi

View file

@ -68,8 +68,8 @@ is NULL or if there are no outlines for the shape; otherwise, it returns True.
.nf
typedef struct _XkbBounds {
short x1,y1; /\(** upper left corner of the bounds, in mm/10 */
short x2,y2; /\(** lower right corner of the bounds, in mm/10 */
short x1,y1; /\&* upper left corner of the bounds, in mm/10 */
short x2,y2; /\&* lower right corner of the bounds, in mm/10 */
} XkbBoundsRec, *XkbBoundsPtr;
.fi

View file

@ -78,14 +78,14 @@ and whose total number of valid entries is stored in
Key types are defined using the following structure:
.nf
typedef struct { /\(** Key Type */
XkbModsRec mods; /\(** modifiers used to compute shift level */
unsigned char num_levels; /\(** total # shift levels, do not modify directly */
unsigned char map_count; /\(** # entries in map, preserve (if non-NULL) */
XkbKTMapEntryPtr map; /\(** vector of modifiers for each shift level */
XkbModsPtr preserve; /\(** mods to preserve for corresponding map entry */
Atom name; /\(** name of key type */
Atom * level_names; /\(** array of names of each shift level */
typedef struct { /\&* Key Type */
XkbModsRec mods; /\&* modifiers used to compute shift level */
unsigned char num_levels; /\&* total # shift levels, do not modify directly */
unsigned char map_count; /\&* # entries in map, preserve (if non-NULL) */
XkbKTMapEntryPtr map; /\&* vector of modifiers for each shift level */
XkbModsPtr preserve; /\&* mods to preserve for corresponding map entry */
Atom name; /\&* name of key type */
Atom * level_names; /\&* array of names of each shift level */
} XkbKeyTypeRec, *XkbKeyTypePtr;
.fi
.SH DIAGNOSTICS

View file

@ -94,18 +94,18 @@ and whose total number of valid entries is stored in
Key types are defined using the following structure:
.nf
typedef struct { /\(** Key Type */
XkbModsRec mods; /\(** modifiers used to compute shift level */
unsigned char num_levels; /\(** total # shift levels, do not modify
typedef struct { /\&* Key Type */
XkbModsRec mods; /\&* modifiers used to compute shift level */
unsigned char num_levels; /\&* total # shift levels, do not modify
directly */
unsigned char map_count; /\(** # entries in map, preserve (if non-NULL)
unsigned char map_count; /\&* # entries in map, preserve (if non-NULL)
*/
XkbKTMapEntryPtr map; /\(** vector of modifiers for each shift level
XkbKTMapEntryPtr map; /\&* vector of modifiers for each shift level
*/
XkbModsPtr preserve; /\(** mods to preserve for corresponding map
XkbModsPtr preserve; /\&* mods to preserve for corresponding map
entry */
Atom name; /\(** name of key type */
Atom * level_names; /\(** array of names of each shift level */
Atom name; /\&* name of key type */
Atom * level_names; /\&* array of names of each shift level */
} XkbKeyTypeRec, *XkbKeyTypePtr;
.fi
.SH DIAGNOSTICS

View file

@ -258,21 +258,21 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep */
} XkbBellNotifyEvent;
.fi

View file

@ -285,21 +285,21 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep */
} XkbBellNotifyEvent;
.fi

View file

@ -283,21 +283,21 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep */
} XkbBellNotifyEvent;
.fi

View file

@ -262,21 +262,21 @@ The structure for the XkbBellNotify event type contains:
.nf
typedef struct _XkbBellNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbBellNotify */
unsigned int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\(** requested volume as % of max */
int pitch; /\(** requested pitch in Hz */
int duration; /\(** requested duration in microseconds */
unsigned int bell_class; /\(** X input extension feedback class */
unsigned int bell_id; /\(** X input extension feedback ID */
Atom name; /\(** "name" of requested bell */
Window window; /\(** window associated with event */
Bool event_only; /\(** False -> the server did not produce a beep */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbBellNotify */
unsigned int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
int percent; /\&* requested volume as % of max */
int pitch; /\&* requested pitch in Hz */
int duration; /\&* requested duration in microseconds */
unsigned int bell_class; /\&* X input extension feedback class */
unsigned int bell_id; /\&* X input extension feedback ID */
Atom name; /\&* "name" of requested bell */
Window window; /\&* window associated with event */
Bool event_only; /\&* False -> the server did not produce a beep */
} XkbBellNotifyEvent;
.fi

View file

@ -118,18 +118,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi
@ -181,15 +181,15 @@ map, which is
of type XkbClientMapRec:
.nf
typedef struct { /\(** Client Map */
unsigned char size_types; /\(** # occupied entries in types */
unsigned char num_types; /\(** # entries in types */
XkbKeyTypePtr types; /\(** vector of key types used by this keymap */
unsigned short size_syms; /\(** length of the syms array */
unsigned short num_syms; /\(** # entries in syms */
KeySym * syms; /\(** linear 2d tables of keysyms, 1 per key */
XkbSymMapPtr key_sym_map; /\(** 1 per keycode, maps keycode to syms */
unsigned char * modmap; /\(** 1 per keycode, real mods bound to key */
typedef struct { /\&* Client Map */
unsigned char size_types; /\&* # occupied entries in types */
unsigned char num_types; /\&* # entries in types */
XkbKeyTypePtr types; /\&* vector of key types used by this keymap */
unsigned short size_syms; /\&* length of the syms array */
unsigned short num_syms; /\&* # entries in syms */
KeySym * syms; /\&* linear 2d tables of keysyms, 1 per key */
XkbSymMapPtr key_sym_map; /\&* 1 per keycode, maps keycode to syms */
unsigned char * modmap; /\&* 1 per keycode, real mods bound to key */
} XkbClientMapRec, *XkbClientMapPtr;
.fi

View file

@ -75,10 +75,10 @@ is set to NULL.
.nf
typedef struct _XkbCompatMapRec {
XkbSymInterpretPtr sym_interpret; /\(** symbol based key semantics*/
XkbModsRec groups[XkbNumKbdGroups]; /\(** group => modifier map */
unsigned short num_si; /\(** # structures used in sym_interpret */
unsigned short size_si; /\(** # structures allocated in sym_interpret */
XkbSymInterpretPtr sym_interpret; /\&* symbol based key semantics*/
XkbModsRec groups[XkbNumKbdGroups]; /\&* group => modifier map */
unsigned short num_si; /\&* # structures used in sym_interpret */
unsigned short size_si; /\&* # structures allocated in sym_interpret */
} XkbCompatMapRec, *XkbCompatMapPtr;
.fi
@ -88,18 +88,18 @@ structures in the XkbDescRec represent the major Xkb components outlined in Figu
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -147,30 +147,30 @@ extension in an XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
typedef struct {
unsigned short led_class; /\(** class for this LED device*/
unsigned short led_id; /\(** ID for this LED device */
unsigned int phys_indicators; /\(** bits for which LEDs physically present */
unsigned int maps_present; /\(** bits for which LEDs have maps in maps */
unsigned int names_present; /\(** bits for which LEDs are in names */
unsigned int state; /\(** 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\(** names for LEDs */
XkbIndicatorMapRec maps; /\(** indicator maps for each LED */
unsigned short led_class; /\&* class for this LED device*/
unsigned short led_id; /\&* ID for this LED device */
unsigned int phys_indicators; /\&* bits for which LEDs physically present */
unsigned int maps_present; /\&* bits for which LEDs have maps in maps */
unsigned int names_present; /\&* bits for which LEDs are in names */
unsigned int state; /\&* 1 bit => corresponding LED is on */
Atom names[XkbNumIndicators]; /\&* names for LEDs */
XkbIndicatorMapRec maps; /\&* indicator maps for each LED */
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
.fi

View file

@ -110,18 +110,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi
@ -173,15 +173,15 @@ type XkbServerMapRec:
.nf
\&#define XkbNumVirtualMods 16
typedef struct { /\(** Server Map */
unsigned short num_acts; /\(** # of occupied entries in acts */
unsigned short size_acts; /\(** # of entries in acts */
XkbAction * acts; /\(** linear 2d tables of key actions, 1 per keycode */
XkbBehavior * behaviors; /\(** key behaviors,1 per keycode */
unsigned short * key_acts; /\(** index into acts, 1 per keycode */
unsigned char * explicit; /\(** explicit overrides of core remapping, 1 per key */
unsigned char vmods[XkbNumVirtualMods]; /\(** real mods bound to virtual mods */
unsigned short * vmodmap; /\(** virtual mods bound to key, 1 per keycode*/
typedef struct { /\&* Server Map */
unsigned short num_acts; /\&* # of occupied entries in acts */
unsigned short size_acts; /\&* # of entries in acts */
XkbAction * acts; /\&* linear 2d tables of key actions, 1 per keycode */
XkbBehavior * behaviors; /\&* key behaviors,1 per keycode */
unsigned short * key_acts; /\&* index into acts, 1 per keycode */
unsigned char * explicit; /\&* explicit overrides of core remapping, 1 per key */
unsigned char vmods[XkbNumVirtualMods]; /\&* real mods bound to virtual mods */
unsigned short * vmodmap; /\&* virtual mods bound to key, 1 per keycode*/
} XkbServerMapRec, *XkbServerMapPtr;
.fi

View file

@ -114,27 +114,27 @@ The XkbControlsRec structure is defined as follows:
\&#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi

View file

@ -192,18 +192,18 @@ The structure for the XkbAccessXNotify event type is as follows:
.nf
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbAccessXNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbAccessXNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd
*/
int detail; /\(** XkbAXN_* */
KeyCode keycode; /\(** key of event */
int slowKeysDelay; /\(** current SlowKeys delay */
int debounceDelay; /\(** current debounce delay */
int detail; /\&* XkbAXN_* */
KeyCode keycode; /\&* key of event */
int slowKeysDelay; /\&* current SlowKeys delay */
int debounceDelay; /\&* current debounce delay */
} XkbAccessXNotifyEvent;
.fi

View file

@ -193,23 +193,23 @@ function returns Success if the query of the server was successful.
The structure for the XkbControlsNotify event is defined as follows:
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbCompatMapNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\(** bits indicating which controls data have
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbCompatMapNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\&* bits indicating which controls data have
changed*/
unsigned int enabled_ctrls; /\(** controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\(** bits indicating enabled/disabled
unsigned int enabled_ctrls; /\&* controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\&* bits indicating enabled/disabled
controls */
int num_groups; /\(** current number of keyboard groups */
KeyCode keycode; /\(** != 0 => keycode of key causing change */
char event_type; /\(** Type of event causing change */
char req_major; /\(** major event code of event causing change */
char req_minor; /\(** minor event code of event causing change */
int num_groups; /\&* current number of keyboard groups */
KeyCode keycode; /\&* != 0 => keycode of key causing change */
char event_type; /\&* Type of event causing change */
char req_major; /\&* major event code of event causing change */
char req_minor; /\&* minor event code of event causing change */
} XkbControlsNotifyEvent;
.fi
.SH DIAGNOSTICS

View file

@ -226,19 +226,19 @@ XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
.fi

View file

@ -77,15 +77,15 @@ Both types of indicator events use the same structure:
.nf
typedef struct _XkbIndicatorNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** specifies state or map notify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed; /\(** mask of indicators with new state or map */
unsigned int state; /\(** current state of all indicators */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* specifies state or map notify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed; /\&* mask of indicators with new state or map */
unsigned int state; /\&* current state of all indicators */
} XkbIndicatorNotifyEvent;
.fi

View file

@ -319,18 +319,18 @@ Figure 1.1.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -241,18 +241,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -197,18 +197,18 @@ The structure for the XkbAccessXNotify event type is as follows:
.nf
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbAccessXNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbAccessXNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd
*/
int detail; /\(** XkbAXN_* */
KeyCode keycode; /\(** key of event */
int slowKeysDelay; /\(** current SlowKeys delay */
int debounceDelay; /\(** current debounce delay */
int detail; /\&* XkbAXN_* */
KeyCode keycode; /\&* key of event */
int slowKeysDelay; /\&* current SlowKeys delay */
int debounceDelay; /\&* current debounce delay */
} XkbAccessXNotifyEvent;
.fi

View file

@ -89,27 +89,27 @@ The XkbControlsRec structure is defined as follows:
#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi

View file

@ -179,18 +179,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -140,18 +140,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -119,14 +119,14 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode
typedef struct { /\&* map to keysyms for a single keycode
*/
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for
each group */
unsigned char group_info; /\(** # of groups and out of range group
unsigned char group_info; /\&* # of groups and out of range group
handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array
*/
} XkbSymMapRec, *XkbSymMapPtr;

View file

@ -123,14 +123,14 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode
typedef struct { /\&* map to keysyms for a single keycode
*/
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for
each group */
unsigned char group_info; /\(** # of groups and out of range group
unsigned char group_info; /\&* # of groups and out of range group
handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array
*/
} XkbSymMapRec, *XkbSymMapPtr;

View file

@ -118,14 +118,14 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode
typedef struct { /\&* map to keysyms for a single keycode
*/
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for
each group */
unsigned char group_info; /\(** # of groups and out of range group
unsigned char group_info; /\&* # of groups and out of range group
handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array
*/
} XkbSymMapRec, *XkbSymMapPtr;

View file

@ -120,11 +120,11 @@ The KeySymMapRec structure is defined as follows:
\&#define XkbNumKbdGroups 4
\&#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for each group */
unsigned char group_info; /\(** # of groups and out of range group handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array */
typedef struct { /\&* map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for each group */
unsigned char group_info; /\&* # of groups and out of range group handling */
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array */
} XkbSymMapRec, *XkbSymMapPtr;
.fi
@ -136,28 +136,28 @@ The XkbControlsRec structure is defined as follows:
\&#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
@ -168,28 +168,28 @@ The XkbControlsRec structure is defined as follows:
\&#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
.SH "SEE ALSO"

View file

@ -115,11 +115,11 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for each group */
unsigned char group_info; /\(** # of groups and out of range group handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array */
typedef struct { /\&* map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for each group */
unsigned char group_info; /\&* # of groups and out of range group handling */
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array */
} XkbSymMapRec, *XkbSymMapPtr;
.fi

View file

@ -101,11 +101,11 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for each group */
unsigned char group_info; /\(** # of groups and out of range group handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array */
typedef struct { /\&* map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for each group */
unsigned char group_info; /\&* # of groups and out of range group handling */
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array */
} XkbSymMapRec, *XkbSymMapPtr;
.fi

View file

@ -208,14 +208,14 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode
typedef struct { /\&* map to keysyms for a single keycode
*/
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for
each group */
unsigned char group_info; /\(** # of groups and out of range group
unsigned char group_info; /\&* # of groups and out of range group
handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array
*/
} XkbSymMapRec, *XkbSymMapPtr;
@ -229,40 +229,40 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven
unsigned char mk_dflt_btn; /\&* default button for keyboard driven
mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers
*/
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking
for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean
control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to
be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion
event */
unsigned short mk_interval; /\(** ms delay between repeat mouse
unsigned short mk_interval; /\&* ms delay between repeat mouse
events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse
unsigned short mk_time_to_max; /\&* # intervals until constant mouse
move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed
*/
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access
X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to
modify */
unsigned int axt_ctrls_values; /\(** values for new bits in
unsigned int axt_ctrls_values; /\&* values for new bits in
enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto
repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
@ -275,40 +275,40 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven
unsigned char mk_dflt_btn; /\&* default button for keyboard driven
mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers
*/
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking
for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean
control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to
be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion
event */
unsigned short mk_interval; /\(** ms delay between repeat mouse
unsigned short mk_interval; /\&* ms delay between repeat mouse
events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse
unsigned short mk_time_to_max; /\&* # intervals until constant mouse
move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed
*/
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access
X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to
modify */
unsigned int axt_ctrls_values; /\(** values for new bits in
unsigned int axt_ctrls_values; /\&* values for new bits in
enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto
repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi

View file

@ -57,14 +57,14 @@ index.
.LP
.nf
typedef struct { /\(** Key Type */
XkbModsRec mods; /\(** modifiers used to compute shift level */
unsigned char num_levels; /\(** total # shift levels, do not modify directly */
unsigned char map_count; /\(** # entries in map, preserve (if non-NULL) */
XkbKTMapEntryPtr map; /\(** vector of modifiers for each shift level */
XkbModsPtr preserve; /\(** mods to preserve for corresponding map entry */
Atom name; /\(** name of key type */
Atom * level_names; /\(** array of names of each shift level */
typedef struct { /\&* Key Type */
XkbModsRec mods; /\&* modifiers used to compute shift level */
unsigned char num_levels; /\&* total # shift levels, do not modify directly */
unsigned char map_count; /\&* # entries in map, preserve (if non-NULL) */
XkbKTMapEntryPtr map; /\&* vector of modifiers for each shift level */
XkbModsPtr preserve; /\&* mods to preserve for corresponding map entry */
Atom name; /\&* name of key type */
Atom * level_names; /\&* array of names of each shift level */
} XkbKeyTypeRec, *XkbKeyTypePtr;
.fi

View file

@ -123,12 +123,12 @@ calls or their equivalent:
.nf
typedef struct _XkbComponentNames {
char * keymap; /\(** keymap names */
char * keycodes; /\(** keycode names */
char * types; /\(** type names */
char * compat; /\(** compatibility map names */
char * symbols; /\(** symbol names */
char * geometry; /\(** geometry names */
char * keymap; /\&* keymap names */
char * keycodes; /\&* keycode names */
char * types; /\&* type names */
char * compat; /\&* compatibility map names */
char * symbols; /\&* symbol names */
char * geometry; /\&* geometry names */
} XkbComponentNamesRec, *XkbComponentNamesPtr;
.fi
@ -137,23 +137,23 @@ returns a pointer to an XkbComponentListRec:
.nf
typedef struct _XkbComponentList {
int num_keymaps; /\(** number of entries in keymap */
int num_keycodes; /\(** number of entries in keycodes */
int num_types; /\(** number of entries in types */
int num_compat; /\(** number of entries in compat */
int num_symbols; /\(** number of entries in symbols */
int num_geometry; /\(** number of entries in geometry;
XkbComponentNamePtr keymap; /\(** keymap names */
XkbComponentNamePtr keycodes; /\(** keycode names */
XkbComponentNamePtr types; /\(** type names */
XkbComponentNamePtr compat; /\(** compatibility map names */
XkbComponentNamePtr symbols; /\(** symbol names */
XkbComponentNamePtr geometry; /\(** geometry names */
int num_keymaps; /\&* number of entries in keymap */
int num_keycodes; /\&* number of entries in keycodes */
int num_types; /\&* number of entries in types */
int num_compat; /\&* number of entries in compat */
int num_symbols; /\&* number of entries in symbols */
int num_geometry; /\&* number of entries in geometry;
XkbComponentNamePtr keymap; /\&* keymap names */
XkbComponentNamePtr keycodes; /\&* keycode names */
XkbComponentNamePtr types; /\&* type names */
XkbComponentNamePtr compat; /\&* compatibility map names */
XkbComponentNamePtr symbols; /\&* symbol names */
XkbComponentNamePtr geometry; /\&* geometry names */
} XkbComponentListRec, *XkbComponentListPtr;
typedef struct _XkbComponentName {
unsigned short flags; /\(** hints regarding component name */
char * name; /\(** name of component */
unsigned short flags; /\&* hints regarding component name */
char * name; /\&* name of component */
} XkbComponentNameRec, *XkbComponentNamePtr;
.fi

View file

@ -178,21 +178,21 @@ into the changes record specified by
The structure for the XkbControlsNotify event is defined as follows:
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbCompatMapNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\(** bits indicating which controls data have changed*/
unsigned int enabled_ctrls; /\(** controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\(** bits indicating enabled/disabled controls */
int num_groups; /\(** current number of keyboard groups */
KeyCode keycode; /\(** != 0 => keycode of key causing change */
char event_type; /\(** Type of event causing change */
char req_major; /\(** major event code of event causing change */
char req_minor; /\(** minor event code of event causing change */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbCompatMapNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\&* bits indicating which controls data have changed*/
unsigned int enabled_ctrls; /\&* controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\&* bits indicating enabled/disabled controls */
int num_groups; /\&* current number of keyboard groups */
KeyCode keycode; /\&* != 0 => keycode of key causing change */
char event_type; /\&* Type of event causing change */
char req_major; /\&* major event code of event causing change */
char req_minor; /\&* minor event code of event causing change */
} XkbControlsNotifyEvent;
.fi
.SH "SEE ALSO"

View file

@ -124,9 +124,9 @@ Xkb extension device configuration. The changes structure is defined as follows:
.nf
typedef struct _XkbDeviceChanges {
unsigned int changed; /\(** bits indicating what has changed */
unsigned short first_btn; /\(** number of first button which changed, if any */
unsigned short num_btns; /\(** number of buttons that have changed */
unsigned int changed; /\&* bits indicating what has changed */
unsigned short first_btn; /\&* number of first button which changed, if any */
unsigned short num_btns; /\&* number of buttons that have changed */
XkbDeviceLedChangesRec leds;
} XkbDeviceChangesRec,*XkbDeviceChangesPtr;

View file

@ -101,15 +101,15 @@ Both types of indicator events use the same structure:
.nf
typedef struct _XkbIndicatorNotify {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** specifies state or map notify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed; /\(** mask of indicators with new state or map */
unsigned int state; /\(** current state of all indicators */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* specifies state or map notify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed; /\&* mask of indicators with new state or map */
unsigned int state; /\&* current state of all indicators */
} XkbIndicatorNotifyEvent;
.fi

View file

@ -106,11 +106,11 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for each group */
unsigned char group_info; /\(** # of groups and out of range group handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array */
typedef struct { /\&* map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for each group */
unsigned char group_info; /\&* # of groups and out of range group handling */
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array */
} XkbSymMapRec, *XkbSymMapPtr;
.fi
@ -123,28 +123,28 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
@ -156,28 +156,28 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
.SH "SEE ALSO"

View file

@ -107,11 +107,11 @@ The KeySymMapRec structure is defined as follows:
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
typedef struct { /\(** map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\(** key type index for each group */
unsigned char group_info; /\(** # of groups and out of range group handling */
unsigned char width; /\(** max # of shift levels for key */
unsigned short offset; /\(** index to keysym table in syms array */
typedef struct { /\&* map to keysyms for a single keycode */
unsigned char kt_index[XkbNumKbdGroups]; /\&* key type index for each group */
unsigned char group_info; /\&* # of groups and out of range group handling */
unsigned char width; /\&* max # of shift levels for key */
unsigned short offset; /\&* index to keysym table in syms array */
} XkbSymMapRec, *XkbSymMapPtr;
.fi
@ -124,28 +124,28 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
@ -157,28 +157,28 @@ The XkbControlsRec structure is defined as follows:
typedef struct {
unsigned char mk_dflt_btn; /\(** default button for keyboard driven mouse */
unsigned char num_groups; /\(** number of keyboard groups */
unsigned char groups_wrap; /\(** how to wrap out-of-bounds groups */
XkbModsRec internal; /\(** defines server internal modifiers */
XkbModsRec ignore_lock; /\(** modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\(** 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\(** ms delay until first repeat */
unsigned short repeat_interval; /\(** ms delay between repeats */
unsigned short slow_keys_delay; /\(** ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\(** ms delay before key reactivated */
unsigned short mk_delay; /\(** ms delay to second mouse motion event */
unsigned short mk_interval; /\(** ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\(** # intervals until constant mouse move */
unsigned short mk_max_speed; /\(** multiplier for maximum mouse speed */
short mk_curve; /\(** determines mouse move curve type */
unsigned short ax_options; /\(** 1 bit => Access X option enabled */
unsigned short ax_timeout; /\(** seconds until Access X disabled */
unsigned short axt_opts_mask; /\(** 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\(** 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\(** which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\(** values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\(** per key auto repeat */
unsigned char mk_dflt_btn; /\&* default button for keyboard driven mouse */
unsigned char num_groups; /\&* number of keyboard groups */
unsigned char groups_wrap; /\&* how to wrap out-of-bounds groups */
XkbModsRec internal; /\&* defines server internal modifiers */
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
unsigned int enabled_ctrls; /\&* 1 bit => corresponding boolean control enabled */
unsigned short repeat_delay; /\&* ms delay until first repeat */
unsigned short repeat_interval; /\&* ms delay between repeats */
unsigned short slow_keys_delay; /\&* ms minimum time key must be down to be ok */
unsigned short debounce_delay; /\&* ms delay before key reactivated */
unsigned short mk_delay; /\&* ms delay to second mouse motion event */
unsigned short mk_interval; /\&* ms delay between repeat mouse events */
unsigned short mk_time_to_max; /\&* # intervals until constant mouse move */
unsigned short mk_max_speed; /\&* multiplier for maximum mouse speed */
short mk_curve; /\&* determines mouse move curve type */
unsigned short ax_options; /\&* 1 bit => Access X option enabled */
unsigned short ax_timeout; /\&* seconds until Access X disabled */
unsigned short axt_opts_mask; /\&* 1 bit => options to reset on Access X timeout */
unsigned short axt_opts_values; /\&* 1 bit => turn option on, 0=> off */
unsigned int axt_ctrls_mask; /\&* which bits in enabled_ctrls to modify */
unsigned int axt_ctrls_values; /\&* values for new bits in enabled_ctrls */
unsigned char per_key_repeat[XkbPerKeyBitArraySize]; /\&* per key auto repeat */
} XkbControlsRec, *XkbControlsPtr;
.fi
.SH "SEE ALSO"

View file

@ -93,12 +93,12 @@ structures.
.nf
typedef struct _XkbPtrAction {
unsigned char type; /\(** XkbSA_MovePtr */
unsigned char flags; /\(** determines type of pointer motion */
unsigned char high_XXX; /\(** x coordinate, high bits*/
unsigned char low_XXX; /\(** y coordinate, low bits */
unsigned char high_YYY; /\(** x coordinate, high bits */
unsigned char low_YYY; /\(** y coordinate, low bits */
unsigned char type; /\&* XkbSA_MovePtr */
unsigned char flags; /\&* determines type of pointer motion */
unsigned char high_XXX; /\&* x coordinate, high bits*/
unsigned char low_XXX; /\&* y coordinate, low bits */
unsigned char high_YYY; /\&* x coordinate, high bits */
unsigned char low_YYY; /\&* y coordinate, low bits */
} XkbPtrAction;
.fi

View file

@ -93,12 +93,12 @@ structures.
.nf
typedef struct _XkbPtrAction {
unsigned char type; /\(** XkbSA_MovePtr */
unsigned char flags; /\(** determines type of pointer motion */
unsigned char high_XXX; /\(** x coordinate, high bits*/
unsigned char low_XXX; /\(** y coordinate, low bits */
unsigned char high_YYY; /\(** x coordinate, high bits */
unsigned char low_YYY; /\(** y coordinate, low bits */
unsigned char type; /\&* XkbSA_MovePtr */
unsigned char flags; /\&* determines type of pointer motion */
unsigned char high_XXX; /\&* x coordinate, high bits*/
unsigned char low_XXX; /\&* y coordinate, low bits */
unsigned char high_YYY; /\&* x coordinate, high bits */
unsigned char low_YYY; /\&* y coordinate, low bits */
} XkbPtrAction;
.fi

View file

@ -67,19 +67,19 @@ extension in an XkbDeviceInfoRec structure:
.nf
typedef struct {
char * name; /\(** name for device */
Atom type; /\(** name for class of devices */
unsigned short device_spec; /\(** device of interest */
Bool has_own_state; /\(** True=>this device has its own state */
unsigned short supported; /\(** bits indicating supported capabilities */
unsigned short unsupported; /\(** bits indicating unsupported capabilities */
unsigned short num_btns; /\(** number of entries in btn_acts */
XkbAction * btn_acts; /\(** button actions */
unsigned short sz_leds; /\(** total number of entries in LEDs vector */
unsigned short num_leds; /\(** number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\(** input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\(** input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\(** LED descriptions */
char * name; /\&* name for device */
Atom type; /\&* name for class of devices */
unsigned short device_spec; /\&* device of interest */
Bool has_own_state; /\&* True=>this device has its own state */
unsigned short supported; /\&* bits indicating supported capabilities */
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
unsigned short num_btns; /\&* number of entries in btn_acts */
XkbAction * btn_acts; /\&* button actions */
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
.fi
.SH DIAGNOSTICS

View file

@ -135,16 +135,16 @@ from
.nf
typedef struct _XkbCtrlsAction {
unsigned char type; /\(** XkbSA_SetControls, XkbSA_LockControls */
unsigned char flags; /\(** with type, controls enabling and disabling
unsigned char type; /\&* XkbSA_SetControls, XkbSA_LockControls */
unsigned char flags; /\&* with type, controls enabling and disabling
of controls */
unsigned char ctrls3; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls3; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls2; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls1; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean
controls */
unsigned char ctrls0; /\(** ctrls0 through ctrls3 represent the boolean
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean
controls */
} XkbCtrlsAction;
.fi

View file

@ -47,10 +47,10 @@ pressed and released:
.nf
.ft CW
typedef struct _XkbGroupAction {
unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\(** with type, controls the effect on groups
unsigned char type; /\&* XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\&* with type, controls the effect on groups
*/
char group_XXX; /\(** represents a group index or delta */
char group_XXX; /\&* represents a group index or delta */
} XkbGroupAction;
.ft
.fi

View file

@ -98,10 +98,10 @@ converted to a signed int.
.nf
typedef struct _XkbPtrDfltAction {
unsigned char type; /\(** XkbSA_SetPtrDflt */
unsigned char flags; /\(** controls the pointer button number */
unsigned char affect; /\(** XkbSA_AffectDfltBtn */
char valueXXX; /\(** new default button member */
unsigned char type; /\&* XkbSA_SetPtrDflt */
unsigned char flags; /\&* controls the pointer button number */
unsigned char affect; /\&* XkbSA_AffectDfltBtn */
char valueXXX; /\&* new default button member */
} XkbPtrDfltAction;
.fi

View file

@ -96,14 +96,14 @@ from
.nf
typedef struct_XkbRedirectKeyAction {
unsigned char type; /\(** XkbSA_RedirectKey */
unsigned char new_key; /\(** keycode to be put in event */
unsigned char mods_mask; /\(** mask of real mods to be reset */
unsigned char mods; /\(** mask of real mods to take values from */
unsigned char vmods_mask0; /\(** first half of mask of virtual mods to be reset */
unsigned char vmods_mask1; /\(** other half of mask of virtual mods to be reset */
unsigned char vmods0; /\(** first half of mask of virtual mods to take values from */
unsigned char vmods1; /\(** other half of mask of virtual mods to take values from */
unsigned char type; /\&* XkbSA_RedirectKey */
unsigned char new_key; /\&* keycode to be put in event */
unsigned char mods_mask; /\&* mask of real mods to be reset */
unsigned char mods; /\&* mask of real mods to take values from */
unsigned char vmods_mask0; /\&* first half of mask of virtual mods to be reset */
unsigned char vmods_mask1; /\&* other half of mask of virtual mods to be reset */
unsigned char vmods0; /\&* first half of mask of virtual mods to take values from */
unsigned char vmods1; /\&* other half of mask of virtual mods to take values from */
} XkbRedirectKeyAction;
.fi

View file

@ -105,17 +105,17 @@ from
.nf
typedef struct_XkbRedirectKeyAction {
unsigned char type; /\(** XkbSA_RedirectKey */
unsigned char new_key; /\(** keycode to be put in event */
unsigned char mods_mask; /\(** mask of real mods to be reset */
unsigned char mods; /\(** mask of real mods to take values from */
unsigned char vmods_mask0; /\(** first half of mask of virtual mods to be
unsigned char type; /\&* XkbSA_RedirectKey */
unsigned char new_key; /\&* keycode to be put in event */
unsigned char mods_mask; /\&* mask of real mods to be reset */
unsigned char mods; /\&* mask of real mods to take values from */
unsigned char vmods_mask0; /\&* first half of mask of virtual mods to be
reset */
unsigned char vmods_mask1; /\(** other half of mask of virtual mods to be
unsigned char vmods_mask1; /\&* other half of mask of virtual mods to be
reset */
unsigned char vmods0; /\(** first half of mask of virtual mods to
unsigned char vmods0; /\&* first half of mask of virtual mods to
take values from */
unsigned char vmods1; /\(** other half of mask of virtual mods to
unsigned char vmods1; /\&* other half of mask of virtual mods to
take values from */
} XkbRedirectKeyAction;

View file

@ -99,17 +99,17 @@ converted to an unsigned int.
.nf
typedef struct_XkbRedirectKeyAction {
unsigned char type; /\(** XkbSA_RedirectKey */
unsigned char new_key; /\(** keycode to be put in event */
unsigned char mods_mask; /\(** mask of real mods to be reset */
unsigned char mods; /\(** mask of real mods to take values from */
unsigned char vmods_mask0; /\(** first half of mask of virtual mods to be
unsigned char type; /\&* XkbSA_RedirectKey */
unsigned char new_key; /\&* keycode to be put in event */
unsigned char mods_mask; /\&* mask of real mods to be reset */
unsigned char mods; /\&* mask of real mods to take values from */
unsigned char vmods_mask0; /\&* first half of mask of virtual mods to be
reset */
unsigned char vmods_mask1; /\(** other half of mask of virtual mods to be
unsigned char vmods_mask1; /\&* other half of mask of virtual mods to be
reset */
unsigned char vmods0; /\(** first half of mask of virtual mods to
unsigned char vmods0; /\&* first half of mask of virtual mods to
take values from */
unsigned char vmods1; /\(** other half of mask of virtual mods to
unsigned char vmods1; /\&* other half of mask of virtual mods to
take values from */
} XkbRedirectKeyAction;

View file

@ -100,17 +100,17 @@ converted to an unsigned int.
.nf
typedef struct_XkbRedirectKeyAction {
unsigned char type; /\(** XkbSA_RedirectKey */
unsigned char new_key; /\(** keycode to be put in event */
unsigned char mods_mask; /\(** mask of real mods to be reset */
unsigned char mods; /\(** mask of real mods to take values from */
unsigned char vmods_mask0; /\(** first half of mask of virtual mods to be
unsigned char type; /\&* XkbSA_RedirectKey */
unsigned char new_key; /\&* keycode to be put in event */
unsigned char mods_mask; /\&* mask of real mods to be reset */
unsigned char mods; /\&* mask of real mods to take values from */
unsigned char vmods_mask0; /\&* first half of mask of virtual mods to be
reset */
unsigned char vmods_mask1; /\(** other half of mask of virtual mods to be
unsigned char vmods_mask1; /\&* other half of mask of virtual mods to be
reset */
unsigned char vmods0; /\(** first half of mask of virtual mods to
unsigned char vmods0; /\&* first half of mask of virtual mods to
take values from */
unsigned char vmods1; /\(** other half of mask of virtual mods to
unsigned char vmods1; /\&* other half of mask of virtual mods to
take values from */
} XkbRedirectKeyAction;

View file

@ -86,9 +86,9 @@ converted to a signed int.
.nf
typedef struct _XkbSwitchScreenAction {
unsigned char type; /\(** XkbSA_SwitchScreen */
unsigned char flags; /\(** controls screen switching */
char screenXXX; /\(** screen number or delta */
unsigned char type; /\&* XkbSA_SwitchScreen */
unsigned char flags; /\&* controls screen switching */
char screenXXX; /\&* screen number or delta */
} XkbSwitchScreenAction;
.fi

View file

@ -52,9 +52,9 @@ current group state when keys are pressed and released:
.nf
.ft CW
typedef struct _XkbGroupAction {
unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\(** with type, controls the effect on groups */
char group_XXX; /\(** represents a group index or delta */
unsigned char type; /\&* XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\&* with type, controls the effect on groups */
char group_XXX; /\&* represents a group index or delta */
} XkbGroupAction;
.ft
.fi

View file

@ -95,10 +95,10 @@ structures.
.nf
typedef struct _XkbPtrDfltAction {
unsigned char type; /\(** XkbSA_SetPtrDflt */
unsigned char flags; /\(** controls the pointer button number */
unsigned char affect; /\(** XkbSA_AffectDfltBtn */
char valueXXX; /\(** new default button member */
unsigned char type; /\&* XkbSA_SetPtrDflt */
unsigned char flags; /\&* controls the pointer button number */
unsigned char affect; /\&* XkbSA_AffectDfltBtn */
char valueXXX; /\&* new default button member */
} XkbPtrDfltAction;
.fi

View file

@ -83,9 +83,9 @@ signed character value for screen numbers in XkbSwitchScreenAction structures.
.nf
typedef struct _XkbSwitchScreenAction {
unsigned char type; /\(** XkbSA_SwitchScreen */
unsigned char flags; /\(** controls screen switching */
char screenXXX; /\(** screen number or delta */
unsigned char type; /\&* XkbSA_SwitchScreen */
unsigned char flags; /\&* controls screen switching */
char screenXXX; /\&* screen number or delta */
} XkbSwitchScreenAction;
.fi

View file

@ -115,18 +115,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi
@ -171,21 +171,21 @@ The structure for the XkbControlsNotify event is defined as follows:
.nf
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbCompatMapNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\(** bits indicating which controls data have changed*/
unsigned int enabled_ctrls; /\(** controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\(** bits indicating enabled/disabled controls */
int num_groups; /\(** current number of keyboard groups */
KeyCode keycode; /\(** != 0 => keycode of key causing change */
char event_type; /\(** Type of event causing change */
char req_major; /\(** major event code of event causing change */
char req_minor; /\(** minor event code of event causing change */
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbCompatMapNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
unsigned int changed_ctrls; /\&* bits indicating which controls data have changed*/
unsigned int enabled_ctrls; /\&* controls currently enabled in server */
unsigned int enabled_ctrl_changes; /\&* bits indicating enabled/disabled controls */
int num_groups; /\&* current number of keyboard groups */
KeyCode keycode; /\&* != 0 => keycode of key causing change */
char event_type; /\&* Type of event causing change */
char req_major; /\&* major event code of event causing change */
char req_minor; /\&* minor event code of event causing change */
} XkbControlsNotifyEvent;
.fi

View file

@ -186,18 +186,18 @@ The structure for the XkbAccessXNotify event type is as follows:
.nf
typedef struct {
int type; /\(** Xkb extension base event code */
unsigned long serial; /\(** X server serial number for event */
Bool send_event; /\(** True => synthetically generated */
Display * display; /\(** server connection where event generated */
Time time; /\(** server time when event generated */
int xkb_type; /\(** XkbAccessXNotify */
int device; /\(** Xkb device ID, will not be XkbUseCoreKbd
int type; /\&* Xkb extension base event code */
unsigned long serial; /\&* X server serial number for event */
Bool send_event; /\&* True => synthetically generated */
Display * display; /\&* server connection where event generated */
Time time; /\&* server time when event generated */
int xkb_type; /\&* XkbAccessXNotify */
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd
*/
int detail; /\(** XkbAXN_* */
KeyCode keycode; /\(** key of event */
int slowKeysDelay; /\(** current SlowKeys delay */
int debounceDelay; /\(** current debounce delay */
int detail; /\&* XkbAXN_* */
KeyCode keycode; /\&* key of event */
int slowKeysDelay; /\&* current SlowKeys delay */
int debounceDelay; /\&* current debounce delay */
} XkbAccessXNotifyEvent;
.fi

View file

@ -198,9 +198,9 @@ as follows:
.nf
typedef struct _XkbDeviceChanges {
unsigned int changed; /\(** bits indicating what has changed */
unsigned short first_btn; /\(** number of first button which changed, if any */
unsigned short num_btns; /\(** number of buttons that have changed */
unsigned int changed; /\&* bits indicating what has changed */
unsigned short first_btn; /\&* number of first button which changed, if any */
unsigned short num_btns; /\&* number of buttons that have changed */
XkbDeviceLedChangesRec leds;
} XkbDeviceChangesRec,*XkbDeviceChangesPtr;

View file

@ -144,18 +144,18 @@ component structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -270,25 +270,25 @@ and to reduce the amount of traffic between the server and clients.
.nf
typedef struct _XkbMapChanges {
unsigned short changed; /\(** identifies valid components in structure */
KeyCode min_key_code; /\(** lowest numbered keycode for device */
KeyCode max_key_code; /\(** highest numbered keycode for device */
unsigned char first_type; /\(** index of first key type modified */
unsigned char num_types; /\(** # types modified */
KeyCode first_key_sym; /\(** first key whose key_sym_map changed */
unsigned char num_key_syms; /\(** # key_sym_map entries changed */
KeyCode first_key_act; /\(** first key whose key_acts entry changed */
unsigned char num_key_acts; /\(** # key_acts entries changed */
KeyCode first_key_behavior; /\(** first key whose behaviors changed */
unsigned char num_key_behaviors; /\(** # behaviors entries changed */
KeyCode first_key_explicit; /\(** first key whose explicit entry changed */
unsigned char num_key_explicit; /\(** # explicit entries changed */
KeyCode first_modmap_key; /\(** first key whose modmap entry changed */
unsigned char num_modmap_keys; /\(** # modmap entries changed */
KeyCode first_vmodmap_key; /\(** first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\(** # vmodmap entries changed */
unsigned char pad1; /\(** reserved */
unsigned short vmods; /\(** mask indicating which vmods changed */
unsigned short changed; /\&* identifies valid components in structure */
KeyCode min_key_code; /\&* lowest numbered keycode for device */
KeyCode max_key_code; /\&* highest numbered keycode for device */
unsigned char first_type; /\&* index of first key type modified */
unsigned char num_types; /\&* # types modified */
KeyCode first_key_sym; /\&* first key whose key_sym_map changed */
unsigned char num_key_syms; /\&* # key_sym_map entries changed */
KeyCode first_key_act; /\&* first key whose key_acts entry changed */
unsigned char num_key_acts; /\&* # key_acts entries changed */
KeyCode first_key_behavior; /\&* first key whose behaviors changed */
unsigned char num_key_behaviors; /\&* # behaviors entries changed */
KeyCode first_key_explicit; /\&* first key whose explicit entry changed */
unsigned char num_key_explicit; /\&* # explicit entries changed */
KeyCode first_modmap_key; /\&* first key whose modmap entry changed */
unsigned char num_modmap_keys; /\&* # modmap entries changed */
KeyCode first_vmodmap_key; /\&* first key whose vmodmap changed */
unsigned char num_vmodmap_keys; /\&* # vmodmap entries changed */
unsigned char pad1; /\&* reserved */
unsigned short vmods; /\&* mask indicating which vmods changed */
} XkbMapChangesRec,*XkbMapChangesPtr;
.fi
@ -299,18 +299,18 @@ structures in the XkbDescRec represent the major Xkb components.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi

View file

@ -100,24 +100,24 @@ effectively reduces the amount of traffic sent to the server:
.nf
typedef struct _XkbNameChanges {
unsigned int changed; /\(** name components that have changed */
unsigned char first_type; /\(** first key type with a new name */
unsigned char num_types; /\(** number of types with new names */
unsigned char first_lvl; /\(** first key type with new level names
unsigned int changed; /\&* name components that have changed */
unsigned char first_type; /\&* first key type with a new name */
unsigned char num_types; /\&* number of types with new names */
unsigned char first_lvl; /\&* first key type with new level names
*/
unsigned char num_lvls; /\(** number of key types with new level
unsigned char num_lvls; /\&* number of key types with new level
names */
unsigned char num_aliases; /\(** if key aliases changed, total number
unsigned char num_aliases; /\&* if key aliases changed, total number
of key aliases */
unsigned char num_rg; /\(** if radio groups changed, total
unsigned char num_rg; /\&* if radio groups changed, total
number of radio groups */
unsigned char first_key; /\(** first key with a new name */
unsigned char num_keys; /\(** number of keys with new names */
unsigned short changed_vmods; /\(** mask of virtual modifiers for which
unsigned char first_key; /\&* first key with a new name */
unsigned char num_keys; /\&* number of keys with new names */
unsigned short changed_vmods; /\&* mask of virtual modifiers for which
names have changed */
unsigned long changed_indicators; /\(** mask of indicators for which names
unsigned long changed_indicators; /\&* mask of indicators for which names
were changed */
unsigned char changed_groups; /\(** mask of groups for which names
unsigned char changed_groups; /\&* mask of groups for which names
were changed */
} XkbNameChangesRec, *XkbNameChangesPtr

View file

@ -97,12 +97,12 @@ structures.
.nf
typedef struct _XkbPtrAction {
unsigned char type; /\(** XkbSA_MovePtr */
unsigned char flags; /\(** determines type of pointer motion */
unsigned char high_XXX; /\(** x coordinate, high bits*/
unsigned char low_XXX; /\(** y coordinate, low bits */
unsigned char high_YYY; /\(** x coordinate, high bits */
unsigned char low_YYY; /\(** y coordinate, low bits */
unsigned char type; /\&* XkbSA_MovePtr */
unsigned char flags; /\&* determines type of pointer motion */
unsigned char high_XXX; /\&* x coordinate, high bits*/
unsigned char low_XXX; /\&* y coordinate, low bits */
unsigned char high_YYY; /\&* x coordinate, high bits */
unsigned char low_YYY; /\&* y coordinate, low bits */
} XkbPtrAction;
.fi

View file

@ -97,12 +97,12 @@ structures.
.nf
typedef struct _XkbPtrAction {
unsigned char type; /\(** XkbSA_MovePtr */
unsigned char flags; /\(** determines type of pointer motion */
unsigned char high_XXX; /\(** x coordinate, high bits*/
unsigned char low_XXX; /\(** y coordinate, low bits */
unsigned char high_YYY; /\(** x coordinate, high bits */
unsigned char low_YYY; /\(** y coordinate, low bits */
unsigned char type; /\&* XkbSA_MovePtr */
unsigned char flags; /\&* determines type of pointer motion */
unsigned char high_XXX; /\&* x coordinate, high bits*/
unsigned char low_XXX; /\&* y coordinate, low bits */
unsigned char high_YYY; /\&* x coordinate, high bits */
unsigned char low_YYY; /\&* y coordinate, low bits */
} XkbPtrAction;
.fi

View file

@ -148,18 +148,18 @@ outlined in Figure 1.1.
.nf
typedef struct {
struct _XDisplay * display; /\(** connection to X server */
unsigned short flags; /\(** private to Xkb, do not modify */
unsigned short device_spec; /\(** device of interest */
KeyCode min_key_code; /\(** minimum keycode for device */
KeyCode max_key_code; /\(** maximum keycode for device */
XkbControlsPtr ctrls; /\(** controls */
XkbServerMapPtr server; /\(** server keymap */
XkbClientMapPtr map; /\(** client keymap */
XkbIndicatorPtr indicators; /\(** indicator map */
XkbNamesPtr names; /\(** names for all components */
XkbCompatMapPtr compat; /\(** compatibility map */
XkbGeometryPtr geom; /\(** physical geometry of keyboard */
struct _XDisplay * display; /\&* connection to X server */
unsigned short flags; /\&* private to Xkb, do not modify */
unsigned short device_spec; /\&* device of interest */
KeyCode min_key_code; /\&* minimum keycode for device */
KeyCode max_key_code; /\&* maximum keycode for device */
XkbControlsPtr ctrls; /\&* controls */
XkbServerMapPtr server; /\&* server keymap */
XkbClientMapPtr map; /\&* client keymap */
XkbIndicatorPtr indicators; /\&* indicator map */
XkbNamesPtr names; /\&* names for all components */
XkbCompatMapPtr compat; /\&* compatibility map */
XkbGeometryPtr geom; /\&* physical geometry of keyboard */
} XkbDescRec, *XkbDescPtr;
.fi