mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2025-12-30 06:10:09 +01:00
docs: unwrap the comments of structure elements in the man pages
It doesn't matter that these lines get wider than 80 columns, as it's easy enough to make the pager scroll a bit to the right, or to have a terminal that is a 100 or more columns wide. It looks better to not hard-wrap these comments. Also, fix the layout of two table elements. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
This commit is contained in:
parent
da330a1644
commit
1adb531cd5
21 changed files with 111 additions and 222 deletions
|
|
@ -122,15 +122,10 @@ converted to an unsigned int.
|
|||
|
||||
typedef struct _XkbCtrlsAction {
|
||||
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
|
||||
controls */
|
||||
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char flags; /\&* with type, controls enabling and disabling of controls */
|
||||
unsigned char ctrls3; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
} XkbCtrlsAction;
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -142,8 +142,7 @@ More than one indicator changed state AX_IndicatorChange
|
|||
Control turned on AX_FeatureOn
|
||||
Control turned off AX_FeatureOff
|
||||
More than one control changed state AX_FeatureChange
|
||||
T{ SlowKeys and BounceKeys about to be turned on or off
|
||||
T} AX_SlowKeysWarning
|
||||
SlowKeys and BounceKeys about to be turned on or off AX_SlowKeysWarning
|
||||
SlowKeys key pressed AX_SlowKeyPress
|
||||
SlowKeys key accepted AX_SlowKeyAccept
|
||||
SlowKeys key rejected AX_SlowKeyReject
|
||||
|
|
@ -295,8 +294,7 @@ The structure for the XkbBellNotify event type contains:
|
|||
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
|
||||
*/
|
||||
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 */
|
||||
|
|
@ -304,8 +302,7 @@ The structure for the XkbBellNotify event type contains:
|
|||
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
|
||||
*/
|
||||
Bool event_only; /\&* False -> the server did not produce a beep */
|
||||
} XkbBellNotifyEvent;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -295,8 +295,7 @@ The structure for the XkbBellNotify event type contains:
|
|||
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
|
||||
*/
|
||||
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 */
|
||||
|
|
@ -304,8 +303,7 @@ The structure for the XkbBellNotify event type contains:
|
|||
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
|
||||
*/
|
||||
Bool event_only; /\&* False -> the server did not produce a beep */
|
||||
} XkbBellNotifyEvent;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -92,33 +92,25 @@ 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 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
|
||||
*/
|
||||
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 */
|
||||
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 */
|
||||
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
|
||||
*/
|
||||
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 vmods; /\&* mask indicating which vmods changed */
|
||||
} XkbMapChangesRec,*XkbMapChangesPtr;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -77,26 +77,18 @@ 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
|
||||
names */
|
||||
unsigned char num_lvls; /\&* number of key types with new level
|
||||
names */
|
||||
unsigned char num_aliases; /\&* if key aliases changed, total
|
||||
number of key aliases */
|
||||
unsigned char num_rg; /\&* if radio groups changed, total
|
||||
number of radio groups */
|
||||
unsigned char first_lvl; /\&* first key type with new level names */
|
||||
unsigned char num_lvls; /\&* number of key types with new level names */
|
||||
unsigned char num_aliases; /\&* if key aliases changed, total number of key aliases */
|
||||
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 names have changed */
|
||||
unsigned long changed_indicators; /\&* mask of indicators for which names
|
||||
were changed */
|
||||
unsigned char changed_groups; /\&* mask of groups for which names
|
||||
were changed */
|
||||
unsigned short changed_vmods; /\&* mask of virtual modifiers for which names have changed */
|
||||
unsigned long changed_indicators; /\&* mask of indicators for which names were changed */
|
||||
unsigned char changed_groups; /\&* mask of groups for which names were changed */
|
||||
} XkbNameChangesRec, *XkbNameChangesPtr
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -155,33 +155,25 @@ components 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 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
|
||||
*/
|
||||
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 */
|
||||
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 */
|
||||
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
|
||||
*/
|
||||
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 vmods; /\&* mask indicating which vmods changed */
|
||||
} XkbMapChangesRec,*XkbMapChangesPtr;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -96,14 +96,10 @@ Key types are defined using the following structure:
|
|||
|
||||
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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -198,8 +198,7 @@ typedef struct {
|
|||
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 device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
|
||||
int detail; /\&* XkbAXN_* */
|
||||
KeyCode keycode; /\&* key of event */
|
||||
int slowKeysDelay; /\&* current SlowKeys delay */
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ XkbIgnoreLockModsMask ok (1L<<29)
|
|||
XkbPerKeyRepeatMask ok (1L<<30)
|
||||
XkbControlsEnabledMask ok (1L<<31)
|
||||
XkbAccessXOptionsMask ok ok (XkbStickyKeysMask |
|
||||
XkbAccessXFeedbackMask)
|
||||
XkbAccessXFeedbackMask)
|
||||
XkbAllBooleanCtrlsMask ok (0x00001FFF)
|
||||
XkbAllControlsMask ok (0xF8001FFF)
|
||||
.TE
|
||||
|
|
@ -200,11 +200,9 @@ typedef struct {
|
|||
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 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 */
|
||||
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 */
|
||||
|
|
|
|||
|
|
@ -203,8 +203,7 @@ typedef struct {
|
|||
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 device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
|
||||
int detail; /\&* XkbAXN_* */
|
||||
KeyCode keycode; /\&* key of event */
|
||||
int slowKeysDelay; /\&* current SlowKeys delay */
|
||||
|
|
|
|||
|
|
@ -119,15 +119,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 */
|
||||
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
|
||||
*/
|
||||
unsigned short offset; /\&* index to keysym table in syms array */
|
||||
} XkbSymMapRec, *XkbSymMapPtr;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -123,15 +123,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 */
|
||||
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
|
||||
*/
|
||||
unsigned short offset; /\&* index to keysym table in syms array */
|
||||
} XkbSymMapRec, *XkbSymMapPtr;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -118,15 +118,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 */
|
||||
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
|
||||
*/
|
||||
unsigned short offset; /\&* index to keysym table in syms array */
|
||||
} XkbSymMapRec, *XkbSymMapPtr;
|
||||
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -208,15 +208,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 */
|
||||
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
|
||||
*/
|
||||
unsigned short offset; /\&* index to keysym table in syms array */
|
||||
} XkbSymMapRec, *XkbSymMapPtr;
|
||||
|
||||
.fi
|
||||
|
|
@ -229,41 +225,28 @@ The XkbControlsRec structure is defined as follows:
|
|||
|
||||
|
||||
typedef struct {
|
||||
unsigned char mk_dflt_btn; /\&* default button for keyboard driven
|
||||
mouse */
|
||||
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 */
|
||||
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 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
|
||||
*/
|
||||
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_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 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
|
||||
|
||||
|
|
@ -273,43 +256,29 @@ The XkbControlsRec structure is defined as follows:
|
|||
#define XkbMaxLegalKeyCode 255
|
||||
#define XkbPerKeyBitArraySize ((XkbMaxLegalKeyCode+1)/8)
|
||||
|
||||
|
||||
typedef struct {
|
||||
unsigned char mk_dflt_btn; /\&* default button for keyboard driven
|
||||
mouse */
|
||||
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 */
|
||||
XkbModsRec internal; /\&* defines server internal modifiers */
|
||||
XkbModsRec ignore_lock; /\&* modifiers to ignore when checking for grab */
|
||||
unsigned int enabled_ctrls; /\&* 1 bit => corresponding booleancontrol 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 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
|
||||
*/
|
||||
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_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 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"
|
||||
|
|
|
|||
|
|
@ -136,15 +136,10 @@ from
|
|||
|
||||
typedef struct _XkbCtrlsAction {
|
||||
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
|
||||
controls */
|
||||
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean
|
||||
controls */
|
||||
unsigned char flags; /\&* with type, controls enabling and disabling of controls */
|
||||
unsigned char ctrls3; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls2; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls1; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
unsigned char ctrls0; /\&* ctrls0 through ctrls3 represent the boolean controls */
|
||||
} XkbCtrlsAction;
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ pressed and released:
|
|||
.ft CW
|
||||
typedef struct _XkbGroupAction {
|
||||
unsigned char type; /\&* XkbSA_{Set|Latch|Lock}Group */
|
||||
unsigned char flags; /\&* with type, controls the effect on groups
|
||||
*/
|
||||
unsigned char flags; /\&* with type, controls the effect on groups */
|
||||
char group_XXX; /\&* represents a group index or delta */
|
||||
} XkbGroupAction;
|
||||
.ft
|
||||
|
|
|
|||
|
|
@ -109,14 +109,10 @@ from
|
|||
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 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
|
||||
|
|
|
|||
|
|
@ -103,14 +103,10 @@ converted to an unsigned int.
|
|||
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 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
|
||||
|
|
|
|||
|
|
@ -104,14 +104,10 @@ converted to an unsigned int.
|
|||
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 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
|
||||
|
|
|
|||
|
|
@ -192,8 +192,7 @@ typedef struct {
|
|||
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 device; /\&* Xkb device ID, will not be XkbUseCoreKbd */
|
||||
int detail; /\&* XkbAXN_* */
|
||||
KeyCode keycode; /\&* key of event */
|
||||
int slowKeysDelay; /\&* current SlowKeys delay */
|
||||
|
|
|
|||
|
|
@ -103,22 +103,15 @@ effectively reduces the amount of traffic sent to the server:
|
|||
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
|
||||
names */
|
||||
unsigned char num_aliases; /\&* if key aliases changed, total number
|
||||
of key aliases */
|
||||
unsigned char num_rg; /\&* if radio groups changed, total
|
||||
number of radio groups */
|
||||
unsigned char first_lvl; /\&* first key type with new level names */
|
||||
unsigned char num_lvls; /\&* number of key types with new level names */
|
||||
unsigned char num_aliases; /\&* if key aliases changed, total number of key aliases */
|
||||
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
|
||||
names have changed */
|
||||
unsigned long changed_indicators; /\&* mask of indicators for which names
|
||||
were changed */
|
||||
unsigned char changed_groups; /\&* mask of groups for which names
|
||||
were changed */
|
||||
unsigned short changed_vmods; /\&* mask of virtual modifiers for which names have changed */
|
||||
unsigned long changed_indicators; /\&* mask of indicators for which names were changed */
|
||||
unsigned char changed_groups; /\&* mask of groups for which names were changed */
|
||||
} XkbNameChangesRec, *XkbNameChangesPtr
|
||||
|
||||
.fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue