diff options
Diffstat (limited to 'include/X11/extensions/XIproto.h')
-rw-r--r-- | include/X11/extensions/XIproto.h | 830 |
1 files changed, 415 insertions, 415 deletions
diff --git a/include/X11/extensions/XIproto.h b/include/X11/extensions/XIproto.h index 82323d8..ac1f096 100644 --- a/include/X11/extensions/XIproto.h +++ b/include/X11/extensions/XIproto.h @@ -177,24 +177,24 @@ struct tmask typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetExtensionVersion */ - CARD16 length B16; - CARD16 nbytes B16; + CARD16 length; + CARD16 nbytes; CARD8 pad1, pad2; } xGetExtensionVersionReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetExtensionVersion */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 major_version B16; - CARD16 minor_version B16; + CARD16 sequenceNumber; + CARD32 length; + CARD16 major_version; + CARD16 minor_version; BOOL present; CARD8 pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; } xGetExtensionVersionReply; /********************************************************* @@ -206,21 +206,21 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_ListInputDevices */ - CARD16 length B16; + CARD16 length; } xListInputDevicesReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_ListInputDevices */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 ndevices; CARD8 pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xListInputDevicesReply; typedef struct _xDeviceInfo *xDeviceInfoPtr; @@ -237,7 +237,7 @@ typedef struct _xAnyClassinfo { } xAnyClassInfo; typedef struct _xDeviceInfo { - CARD32 type B32; + CARD32 type; CARD8 id; CARD8 num_classes; CARD8 use; /* IsXPointer | IsXKeyboard | IsXExtension... */ @@ -255,7 +255,7 @@ typedef struct _xKeyInfo { CARD8 length; KeyCode min_keycode; KeyCode max_keycode; - CARD16 num_keys B16; + CARD16 num_keys; CARD8 pad1,pad2; } xKeyInfo; @@ -268,7 +268,7 @@ typedef struct _xButtonInfo { CARD8 class; #endif CARD8 length; - CARD16 num_buttons B16; + CARD16 num_buttons; } xButtonInfo; typedef struct _xValuatorInfo *xValuatorInfoPtr; @@ -282,15 +282,15 @@ typedef struct _xValuatorInfo { CARD8 length; CARD8 num_axes; CARD8 mode; - CARD32 motion_buffer_size B32; + CARD32 motion_buffer_size; } xValuatorInfo; typedef struct _xAxisInfo *xAxisInfoPtr; typedef struct _xAxisInfo { - CARD32 resolution B32; - CARD32 min_value B32; - CARD32 max_value B32; + CARD32 resolution; + CARD32 min_value; + CARD32 max_value; } xAxisInfo; /********************************************************* @@ -302,7 +302,7 @@ typedef struct _xAxisInfo { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_OpenDevice */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xOpenDeviceReq; @@ -310,15 +310,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_OpenDevice */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 num_classes; BYTE pad1, pad2, pad3; - CARD32 pad00 B32; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; + CARD32 pad00; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; } xOpenDeviceReply; typedef struct { @@ -339,7 +339,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_CloseDevice */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xCloseDeviceReq; @@ -353,7 +353,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_SetDeviceMode */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 mode; BYTE pad1, pad2; @@ -362,15 +362,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_SetDeviceMode */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xSetDeviceModeReply; /********************************************************* @@ -382,10 +382,10 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_SelectExtensionEvent */ - CARD16 length B16; - Window window B32; - CARD16 count B16; - CARD16 pad00 B16; + CARD16 length; + Window window; + CARD16 count; + CARD16 pad00; } xSelectExtensionEventReq; /********************************************************* @@ -397,22 +397,22 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_GetSelectedExtensionEvents */ - CARD16 length B16; - Window window B32; + CARD16 length; + Window window; } xGetSelectedExtensionEventsReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* GetSelectedExtensionEvents */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 this_client_count B16; - CARD16 all_clients_count B16; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD16 this_client_count; + CARD16 all_clients_count; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xGetSelectedExtensionEventsReply; /********************************************************* @@ -424,9 +424,9 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_ChangeDeviceDontPropagateList */ - CARD16 length B16; - Window window B32; - CARD16 count B16; + CARD16 length; + Window window; + CARD16 count; CARD8 mode; BYTE pad; } xChangeDeviceDontPropagateListReq; @@ -440,22 +440,22 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_GetDeviceDontPropagateList */ - CARD16 length B16; - Window window B32; + CARD16 length; + Window window; } xGetDeviceDontPropagateListReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* GetDeviceDontPropagateList */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 count B16; - CARD16 pad00 B16; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD16 count; + CARD16 pad00; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xGetDeviceDontPropagateListReply; /********************************************************* @@ -467,9 +467,9 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetDeviceMotionEvents*/ - CARD16 length B16; - Time start B32; - Time stop B32; + CARD16 length; + Time start; + Time stop; CARD8 deviceid; BYTE pad1, pad2, pad3; } xGetDeviceMotionEventsReq; @@ -477,16 +477,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceMotionEvents */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 nEvents B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 nEvents; CARD8 axes; CARD8 mode; BYTE pad1, pad2; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; } xGetDeviceMotionEventsReply; /********************************************************* @@ -498,7 +498,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_ChangeKeyboardDevice */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xChangeKeyboardDeviceReq; @@ -506,15 +506,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_ChangeKeyboardDevice*/ - CARD16 sequenceNumber B16; - CARD32 length B32; /* 0 */ + CARD16 sequenceNumber; + CARD32 length; /* 0 */ CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xChangeKeyboardDeviceReply; /********************************************************* @@ -526,7 +526,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_ChangePointerDevice */ - CARD16 length B16; + CARD16 length; CARD8 xaxis; CARD8 yaxis; CARD8 deviceid; @@ -536,15 +536,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_ChangePointerDevice */ - CARD16 sequenceNumber B16; - CARD32 length B32; /* 0 */ + CARD16 sequenceNumber; + CARD32 length; /* 0 */ CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xChangePointerDeviceReply; /********************************************************* @@ -556,29 +556,29 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GrabDevice */ - CARD16 length B16; - Window grabWindow B32; - Time time B32; - CARD16 event_count B16; + CARD16 length; + Window grabWindow; + Time time; + CARD16 event_count; CARD8 this_device_mode; CARD8 other_devices_mode; BOOL ownerEvents; CARD8 deviceid; - CARD16 pad01 B16; + CARD16 pad01; } xGrabDeviceReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GrabDevice */ - CARD16 sequenceNumber B16; - CARD32 length B32; /* 0 */ + CARD16 sequenceNumber; + CARD32 length; /* 0 */ CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xGrabDeviceReply; /********************************************************* @@ -590,8 +590,8 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_UnGrabDevice */ - CARD16 length B16; - Time time B32; + CARD16 length; + Time time; CARD8 deviceid; BYTE pad1, pad2, pad3; } xUngrabDeviceReq; @@ -605,10 +605,10 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GrabDeviceKey */ - CARD16 length B16; - Window grabWindow B32; - CARD16 event_count B16; - CARD16 modifiers B16; + CARD16 length; + Window grabWindow; + CARD16 event_count; + CARD16 modifiers; CARD8 modifier_device; CARD8 grabbed_device; CARD8 key; @@ -627,9 +627,9 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_UngrabDeviceKey */ - CARD16 length B16; - Window grabWindow B32; - CARD16 modifiers B16; + CARD16 length; + Window grabWindow; + CARD16 modifiers; CARD8 modifier_device; CARD8 key; CARD8 grabbed_device; @@ -645,12 +645,12 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GrabDeviceButton */ - CARD16 length B16; - Window grabWindow B32; + CARD16 length; + Window grabWindow; CARD8 grabbed_device; CARD8 modifier_device; - CARD16 event_count B16; - CARD16 modifiers B16; + CARD16 event_count; + CARD16 modifiers; BYTE this_device_mode; BYTE other_devices_mode; CARD8 button; @@ -667,9 +667,9 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_UngrabDeviceButton */ - CARD16 length B16; - Window grabWindow B32; - CARD16 modifiers B16; + CARD16 length; + Window grabWindow; + CARD16 modifiers; CARD8 modifier_device; CARD8 button; CARD8 grabbed_device; @@ -685,8 +685,8 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_AllowDeviceEvents */ - CARD16 length B16; - Time time B32; + CARD16 length; + Time time; CARD8 mode; CARD8 deviceid; BYTE pad1, pad2; @@ -701,7 +701,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetDeviceFocus */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xGetDeviceFocusReq; @@ -709,15 +709,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceFocus */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 focus B32; - Time time B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 focus; + Time time; CARD8 revertTo; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; } xGetDeviceFocusReply; /********************************************************* @@ -729,12 +729,12 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_SetDeviceFocus */ - CARD16 length B16; - Window focus B32; - Time time B32; + CARD16 length; + Window focus; + Time time; CARD8 revertTo; CARD8 device; - CARD16 pad01 B16; + CARD16 pad01; } xSetDeviceFocusReq; /********************************************************* @@ -746,7 +746,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_GetFeedbackControl */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xGetFeedbackControlReq; @@ -754,15 +754,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetFeedbackControl */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 num_feedbacks B16; - CARD16 pad01 B16; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; - CARD32 pad06 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD16 num_feedbacks; + CARD16 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; + CARD32 pad06; } xGetFeedbackControlReply; typedef struct { @@ -772,7 +772,7 @@ typedef struct { CARD8 class; /* feedback class */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ } xFeedbackState; typedef struct { @@ -782,11 +782,11 @@ typedef struct { CARD8 class; #endif CARD8 id; - CARD16 length B16; - CARD16 pitch B16; - CARD16 duration B16; - CARD32 led_mask B32; - CARD32 led_values B32; + CARD16 length; + CARD16 pitch; + CARD16 duration; + CARD32 led_mask; + CARD32 led_values; BOOL global_auto_repeat; CARD8 click; CARD8 percent; @@ -801,11 +801,11 @@ typedef struct { CARD8 class; #endif CARD8 id; - CARD16 length B16; + CARD16 length; CARD8 pad1,pad2; - CARD16 accelNum B16; - CARD16 accelDenom B16; - CARD16 threshold B16; + CARD16 accelNum; + CARD16 accelDenom; + CARD16 threshold; } xPtrFeedbackState; typedef struct { @@ -815,10 +815,10 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; - CARD16 length B16; /* feedback length */ - CARD32 resolution B32; - INT32 min_value B32; - INT32 max_value B32; + CARD16 length; /* feedback length */ + CARD32 resolution; + INT32 min_value; + INT32 max_value; } xIntegerFeedbackState; typedef struct { @@ -828,9 +828,9 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; - CARD16 length B16; /* feedback length */ - CARD16 max_symbols B16; - CARD16 num_syms_supported B16; + CARD16 length; /* feedback length */ + CARD16 max_symbols; + CARD16 num_syms_supported; } xStringFeedbackState; typedef struct { @@ -840,11 +840,11 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ CARD8 percent; BYTE pad1, pad2, pad3; - CARD16 pitch B16; - CARD16 duration B16; + CARD16 pitch; + CARD16 duration; } xBellFeedbackState; typedef struct { @@ -854,9 +854,9 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; - CARD16 length B16; /* feedback length */ - CARD32 led_mask B32; - CARD32 led_values B32; + CARD16 length; /* feedback length */ + CARD32 led_mask; + CARD32 led_values; } xLedFeedbackState; /********************************************************* @@ -868,8 +868,8 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_ChangeFeedbackControl */ - CARD16 length B16; - CARD32 mask B32; + CARD16 length; + CARD32 mask; CARD8 deviceid; CARD8 feedbackid; BYTE pad1, pad2; @@ -882,7 +882,7 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ } xFeedbackCtl; typedef struct { @@ -892,15 +892,15 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback length */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ KeyCode key; CARD8 auto_repeat_mode; INT8 click; INT8 percent; - INT16 pitch B16; - INT16 duration B16; - CARD32 led_mask B32; - CARD32 led_values B32; + INT16 pitch; + INT16 duration; + CARD32 led_mask; + CARD32 led_values; } xKbdFeedbackCtl; typedef struct { @@ -910,11 +910,11 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ CARD8 pad1,pad2; - INT16 num B16; - INT16 denom B16; - INT16 thresh B16; + INT16 num; + INT16 denom; + INT16 thresh; } xPtrFeedbackCtl; typedef struct { @@ -924,8 +924,8 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ - INT32 int_to_display B32; + CARD16 length; /* feedback length */ + INT32 int_to_display; } xIntegerFeedbackCtl; typedef struct { @@ -935,9 +935,9 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ CARD8 pad1,pad2; - CARD16 num_keysyms B16; + CARD16 num_keysyms; } xStringFeedbackCtl; typedef struct { @@ -947,11 +947,11 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ + CARD16 length; /* feedback length */ INT8 percent; BYTE pad1, pad2, pad3; - INT16 pitch B16; - INT16 duration B16; + INT16 pitch; + INT16 duration; } xBellFeedbackCtl; typedef struct { @@ -961,9 +961,9 @@ typedef struct { CARD8 class; /* feedback class id */ #endif CARD8 id; /* feedback id */ - CARD16 length B16; /* feedback length */ - CARD32 led_mask B32; - CARD32 led_values B32; + CARD16 length; /* feedback length */ + CARD32 led_mask; + CARD32 led_values; } xLedFeedbackCtl; /********************************************************* @@ -975,7 +975,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetDeviceKeyMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; KeyCode firstKeyCode; CARD8 count; @@ -985,16 +985,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceKeyMapping */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 keySymsPerKeyCode; CARD8 pad0; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xGetDeviceKeyMappingReply; /********************************************************* @@ -1006,7 +1006,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_ChangeDeviceKeyMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; KeyCode firstKeyCode; CARD8 keySymsPerKeyCode; @@ -1022,7 +1022,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetDeviceModifierMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xGetDeviceModifierMappingReq; @@ -1030,16 +1030,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceModifierMapping */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 numKeyPerModifier; CARD8 pad0; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xGetDeviceModifierMappingReply; /********************************************************* @@ -1051,25 +1051,25 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_SetDeviceModifierMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 numKeyPerModifier; - CARD16 pad1 B16; + CARD16 pad1; } xSetDeviceModifierMappingReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_SetDeviceModifierMapping */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 success; CARD8 pad0; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xSetDeviceModifierMappingReply; /********************************************************* @@ -1081,7 +1081,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_GetDeviceButtonMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xGetDeviceButtonMappingReq; @@ -1089,15 +1089,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceButtonMapping */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 nElts; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xGetDeviceButtonMappingReply; /********************************************************* @@ -1109,7 +1109,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* X_SetDeviceButtonMapping */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 map_length; BYTE pad1, pad2; @@ -1118,16 +1118,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_SetDeviceButtonMapping */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 status; BYTE pad0; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xSetDeviceButtonMappingReply; /********************************************************* @@ -1139,7 +1139,7 @@ typedef struct { typedef struct { CARD8 reqType; CARD8 ReqType; /* always X_QueryDeviceState */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; BYTE pad1, pad2, pad3; } xQueryDeviceStateReq; @@ -1147,16 +1147,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_QueryDeviceState */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 num_classes; BYTE pad0; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xQueryDeviceStateReply; typedef struct { @@ -1205,11 +1205,11 @@ typedef struct { typedef struct { CARD8 reqType; CARD8 ReqType; /* always X_SendExtensionEvent */ - CARD16 length B16; - Window destination B32; + CARD16 length; + Window destination; CARD8 deviceid; BOOL propagate; - CARD16 count B16; + CARD16 count; CARD8 num_events; BYTE pad1,pad2,pad3; } xSendExtensionEventReq; @@ -1223,7 +1223,7 @@ typedef struct { typedef struct { CARD8 reqType; CARD8 ReqType; /* always X_DeviceBell */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 feedbackid; CARD8 feedbackclass; @@ -1239,7 +1239,7 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_SetDeviceValuators */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 first_valuator; CARD8 num_valuators; @@ -1249,15 +1249,15 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_SetDeviceValuators */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xSetDeviceValuatorsReply; /********************************************************* @@ -1269,8 +1269,8 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_GetDeviceControl */ - CARD16 length B16; - CARD16 control B16; + CARD16 length; + CARD16 control; CARD8 deviceid; BYTE pad2; } xGetDeviceControlReq; @@ -1278,66 +1278,66 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceControl */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xGetDeviceControlReply; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ } xDeviceState; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ - CARD32 num_valuators B32; /* number of valuators */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ + CARD32 num_valuators; /* number of valuators */ } xDeviceResolutionState; typedef struct { - CARD16 control B16; - CARD16 length B16; - INT32 min_x B32; - INT32 max_x B32; - INT32 min_y B32; - INT32 max_y B32; - CARD32 flip_x B32; - CARD32 flip_y B32; - CARD32 rotation B32; - CARD32 button_threshold B32; + CARD16 control; + CARD16 length; + INT32 min_x; + INT32 max_x; + INT32 min_y; + INT32 max_y; + CARD32 flip_x; + CARD32 flip_y; + CARD32 rotation; + CARD32 button_threshold; } xDeviceAbsCalibState; typedef struct { - CARD16 control B16; - CARD16 length B16; - CARD32 offset_x B32; - CARD32 offset_y B32; - CARD32 width B32; - CARD32 height B32; - CARD32 screen B32; - CARD32 following B32; + CARD16 control; + CARD16 length; + CARD32 offset_x; + CARD32 offset_y; + CARD32 width; + CARD32 height; + CARD32 screen; + CARD32 following; } xDeviceAbsAreaState; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ CARD8 status; CARD8 iscore; - CARD16 pad1 B16; + CARD16 pad1; } xDeviceCoreState; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ CARD8 enable; CARD8 pad0; - CARD16 pad1 B16; + CARD16 pad1; } xDeviceEnableState; /********************************************************* @@ -1349,8 +1349,8 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major code */ CARD8 ReqType; /* always X_ChangeDeviceControl */ - CARD16 length B16; - CARD16 control B16; + CARD16 length; + CARD16 control; CARD8 deviceid; BYTE pad0; } xChangeDeviceControlReq; @@ -1358,33 +1358,33 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_ChangeDeviceControl */ - CARD16 sequenceNumber B16; - CARD32 length B32; + CARD16 sequenceNumber; + CARD32 length; CARD8 status; BYTE pad1, pad2, pad3; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; } xChangeDeviceControlReply; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ } xDeviceCtl; typedef struct { - CARD16 control B16; /* control type */ - CARD16 length B16; /* control length */ + CARD16 control; /* control type */ + CARD16 length; /* control length */ CARD8 first_valuator; /* first valuator to change */ CARD8 num_valuators; /* number of valuators to change*/ CARD8 pad1,pad2; } xDeviceResolutionCtl; typedef struct { - CARD16 control B16; - CARD16 length B16; + CARD16 control; + CARD16 length; INT32 min_x; INT32 max_x; INT32 min_y; @@ -1396,8 +1396,8 @@ typedef struct { } xDeviceAbsCalibCtl; typedef struct { - CARD16 control B16; - CARD16 length B16; + CARD16 control; + CARD16 length; CARD32 offset_x; CARD32 offset_y; INT32 width; @@ -1407,19 +1407,19 @@ typedef struct { } xDeviceAbsAreaCtl; typedef struct { - CARD16 control B16; - CARD16 length B16; + CARD16 control; + CARD16 length; CARD8 status; CARD8 pad0; - CARD16 pad1 B16; + CARD16 pad1; } xDeviceCoreCtl; typedef struct { - CARD16 control B16; - CARD16 length B16; + CARD16 control; + CARD16 length; CARD8 enable; CARD8 pad0; - CARD16 pad1 B16; + CARD16 pad1; } xDeviceEnableCtl; /* XI 1.5 */ @@ -1433,24 +1433,24 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major opcode */ CARD8 ReqType; /* always X_ListDeviceProperties */ - CARD16 length B16; + CARD16 length; CARD8 deviceid; CARD8 pad0; - CARD16 pad1 B16; + CARD16 pad1; } xListDevicePropertiesReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_ListDeviceProperties */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 nAtoms B16; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD16 nAtoms; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xListDevicePropertiesReply; /********************************************************* @@ -1462,14 +1462,14 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major opcode */ CARD8 ReqType; /* always X_ChangeDeviceProperty */ - CARD16 length B16; - Atom property B32; - Atom type B32; + CARD16 length; + Atom property; + Atom type; CARD8 deviceid; CARD8 format; CARD8 mode; CARD8 pad; - CARD32 nUnits B32; + CARD32 nUnits; } xChangeDevicePropertyReq; /********************************************************* @@ -1481,11 +1481,11 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major opcode */ CARD8 ReqType; /* always X_DeleteDeviceProperty */ - CARD16 length B16; - Atom property B32; + CARD16 length; + Atom property; CARD8 deviceid; CARD8 pad0; - CARD16 pad1 B16; + CARD16 pad1; } xDeleteDevicePropertyReq; /********************************************************* @@ -1497,11 +1497,11 @@ typedef struct { typedef struct { CARD8 reqType; /* input extension major opcode */ CARD8 ReqType; /* always X_GetDeviceProperty */ - CARD16 length B16; - Atom property B32; - Atom type B32; - CARD32 longOffset B32; - CARD32 longLength B32; + CARD16 length; + Atom property; + Atom type; + CARD32 longOffset; + CARD32 longLength; CARD8 deviceid; #if defined(__cplusplus) || defined(c_plusplus) BOOL c_delete; @@ -1514,16 +1514,16 @@ typedef struct { typedef struct { CARD8 repType; /* X_Reply */ CARD8 RepType; /* always X_GetDeviceProperty */ - CARD16 sequenceNumber B16; - CARD32 length B32; - Atom propertyType B32; - CARD32 bytesAfter B32; - CARD32 nItems B32; + CARD16 sequenceNumber; + CARD32 length; + Atom propertyType; + CARD32 bytesAfter; + CARD32 nItems; CARD8 format; CARD8 deviceid; - CARD16 pad1 B16; - CARD32 pad2 B32; - CARD32 pad3 B32; + CARD16 pad1; + CARD32 pad2; + CARD32 pad3; } xGetDevicePropertyReply; @@ -1539,16 +1539,16 @@ typedef struct { BYTE type; CARD8 deviceid; - CARD16 sequenceNumber B16; - KeyButMask device_state B16; + CARD16 sequenceNumber; + KeyButMask device_state; CARD8 num_valuators; CARD8 first_valuator; - INT32 valuator0 B32; - INT32 valuator1 B32; - INT32 valuator2 B32; - INT32 valuator3 B32; - INT32 valuator4 B32; - INT32 valuator5 B32; + INT32 valuator0; + INT32 valuator1; + INT32 valuator2; + INT32 valuator3; + INT32 valuator4; + INT32 valuator5; } deviceValuator; /********************************************************** @@ -1566,16 +1566,16 @@ typedef struct { BYTE type; BYTE detail; - CARD16 sequenceNumber B16; - Time time B32; - Window root B32; - Window event B32; - Window child B32; - INT16 root_x B16; - INT16 root_y B16; - INT16 event_x B16; - INT16 event_y B16; - KeyButMask state B16; + CARD16 sequenceNumber; + Time time; + Window root; + Window event; + Window child; + INT16 root_x; + INT16 root_y; + INT16 event_x; + INT16 event_y; + KeyButMask state; BOOL same_screen; CARD8 deviceid; } deviceKeyButtonPointer; @@ -1590,16 +1590,16 @@ typedef struct { BYTE type; BYTE detail; - CARD16 sequenceNumber B16; - Time time B32; - Window window B32; + CARD16 sequenceNumber; + Time time; + Window window; BYTE mode; CARD8 deviceid; BYTE pad1, pad2; - CARD32 pad00 B32; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; + CARD32 pad00; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; } deviceFocus; /********************************************************** @@ -1616,17 +1616,17 @@ typedef struct { BYTE type; BYTE deviceid; - CARD16 sequenceNumber B16; - Time time B32; + CARD16 sequenceNumber; + Time time; CARD8 num_keys; CARD8 num_buttons; CARD8 num_valuators; CARD8 classes_reported; CARD8 buttons[4]; CARD8 keys[4]; - INT32 valuator0 B32; - INT32 valuator1 B32; - INT32 valuator2 B32; + INT32 valuator0; + INT32 valuator1; + INT32 valuator2; } deviceStateNotify; /********************************************************** @@ -1639,7 +1639,7 @@ typedef struct { BYTE type; BYTE deviceid; - CARD16 sequenceNumber B16; + CARD16 sequenceNumber; CARD8 keys[28]; } deviceKeyStateNotify; @@ -1653,7 +1653,7 @@ typedef struct { BYTE type; BYTE deviceid; - CARD16 sequenceNumber B16; + CARD16 sequenceNumber; CARD8 buttons[28]; } deviceButtonStateNotify; @@ -1668,17 +1668,17 @@ typedef struct { BYTE type; BYTE deviceid; - CARD16 sequenceNumber B16; + CARD16 sequenceNumber; CARD8 request; KeyCode firstKeyCode; CARD8 count; BYTE pad1; - Time time B32; - CARD32 pad00 B32; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; + Time time; + CARD32 pad00; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; } deviceMappingNotify; /********************************************************** @@ -1691,15 +1691,15 @@ typedef struct { BYTE type; BYTE deviceid; - CARD16 sequenceNumber B16; - Time time B32; + CARD16 sequenceNumber; + Time time; CARD8 request; BYTE pad1, pad2, pad3; - CARD32 pad00 B32; - CARD32 pad01 B32; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; + CARD32 pad00; + CARD32 pad01; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; } changeDeviceNotify; /********************************************************** @@ -1712,16 +1712,16 @@ typedef struct { BYTE type; BYTE pad00; - CARD16 sequenceNumber B16; - Time time B32; + CARD16 sequenceNumber; + Time time; BYTE devchange; /* Device{Added|Removed|Enabled|Disabled|ControlChanged} */ BYTE deviceid; - CARD16 control B16; - CARD32 pad02 B32; - CARD32 pad03 B32; - CARD32 pad04 B32; - CARD32 pad05 B32; - CARD32 pad06 B32; + CARD16 control; + CARD32 pad02; + CARD32 pad03; + CARD32 pad04; + CARD32 pad05; + CARD32 pad06; } devicePresenceNotify; @@ -1736,14 +1736,14 @@ typedef struct { BYTE type; BYTE state; /* NewValue or Deleted */ - CARD16 sequenceNumber B16; - CARD32 time B32; - Atom atom B32; /* affected property */ - CARD32 pad0 B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD16 pad5 B16; + CARD16 sequenceNumber; + CARD32 time; + Atom atom; /* affected property */ + CARD32 pad0; + CARD32 pad1; + CARD32 pad2; + CARD32 pad3; + CARD16 pad5; CARD8 pad4; CARD8 deviceid; /* id of device */ } devicePropertyNotify; |