Protect C comments and #defines in XKB man pages from being mangled by cpp

This commit is contained in:
Alan Coopersmith 2007-04-28 00:30:55 -07:00
parent f2f27d4763
commit f93849dcc6
86 changed files with 1081 additions and 1081 deletions

View file

@ -131,16 +131,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

@ -99,31 +99,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

@ -100,8 +100,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

@ -74,11 +74,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

@ -91,8 +91,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

@ -83,10 +83,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

@ -92,12 +92,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

@ -88,8 +88,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

@ -91,10 +91,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

@ -91,8 +91,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

@ -109,23 +109,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

@ -89,13 +89,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

@ -92,12 +92,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

@ -83,31 +83,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

@ -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
@ -101,12 +101,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

@ -247,12 +247,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
@ -317,7 +317,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
@ -357,8 +357,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

@ -305,22 +305,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

@ -305,22 +305,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

@ -325,11 +325,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

@ -77,9 +77,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

@ -154,27 +154,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

@ -148,15 +148,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,32 +106,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

@ -91,25 +91,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

@ -175,32 +175,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

@ -72,18 +72,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

@ -80,8 +80,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

@ -90,14 +90,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

@ -108,18 +108,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

@ -280,21 +280,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

@ -307,21 +307,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

@ -295,21 +295,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

@ -282,21 +282,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

@ -132,18 +132,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
@ -195,15 +195,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

@ -89,10 +89,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
@ -102,18 +102,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

@ -161,30 +161,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

@ -124,18 +124,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
@ -185,17 +185,17 @@ events and is of
type XkbServerMapRec:
.nf
#define XkbNumVirtualMods 16
\&#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

@ -132,31 +132,31 @@ server.
.nf
The XkbControlsRec structure is defined as follows:
#define XkbMaxLegalKeyCode 255
#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
\&#define XkbMaxLegalKeyCode 255
\&#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

@ -206,18 +206,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

@ -207,23 +207,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

@ -244,19 +244,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

@ -93,15 +93,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

@ -339,18 +339,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

@ -255,18 +255,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

@ -211,18 +211,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

@ -103,27 +103,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

@ -193,18 +193,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

@ -154,18 +154,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

@ -133,14 +133,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

@ -139,14 +139,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

@ -130,14 +130,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

@ -129,14 +129,14 @@ key corresponding to
The KeySymMapRec structure is defined as follows:
.nf
#define XkbNumKbdGroups 4
#define XkbMaxKbdGroup (XkbNumKbdGroups-1)
\&#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
@ -144,64 +144,64 @@ typedef struct { /* map to keysyms for a single keycode */
.nf
The XkbControlsRec structure is defined as follows:
#define XkbMaxLegalKeyCode 255
#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
\&#define XkbMaxLegalKeyCode 255
\&#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
.nf
The XkbControlsRec structure is defined as follows:
#define XkbMaxLegalKeyCode 255
#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
\&#define XkbMaxLegalKeyCode 255
\&#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

@ -127,11 +127,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

@ -113,11 +113,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

@ -212,14 +212,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;
@ -233,40 +233,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
@ -279,40 +279,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

@ -71,14 +71,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

@ -139,12 +139,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
@ -153,23 +153,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

@ -192,21 +192,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

@ -138,9 +138,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

@ -115,15 +115,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

@ -116,11 +116,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
@ -133,28 +133,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
@ -166,28 +166,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

@ -117,11 +117,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
@ -134,28 +134,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
@ -167,28 +167,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

@ -103,12 +103,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

@ -103,12 +103,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

@ -79,19 +79,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

@ -147,16 +147,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

@ -59,9 +59,9 @@ pressed and released:
.nf
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;

View file

@ -108,10 +108,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

@ -108,14 +108,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

@ -117,17 +117,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

@ -109,17 +109,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

@ -110,17 +110,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

@ -96,9 +96,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

@ -65,8 +65,8 @@ pressed and released:
.nf
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;

View file

@ -107,10 +107,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

@ -95,9 +95,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

@ -137,18 +137,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
@ -193,21 +193,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

@ -200,18 +200,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

@ -146,18 +146,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
@ -206,12 +206,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

View file

@ -212,9 +212,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

@ -164,18 +164,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

@ -284,25 +284,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
@ -313,18 +313,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

@ -118,24 +118,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

@ -109,12 +109,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

@ -109,12 +109,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

@ -168,18 +168,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