X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxinput.xml;h=c569257981626a2045f2f408e61218abc97d9c4a;hb=d8c5e82ab26417afc4383ad16ff3e076a6e4434c;hp=976855a5f10a9b6e6d847d4ce9b01511847f0787;hpb=80a79d466d1b3cb7c81c30f54035862b2d0f5f6f;p=free-sw%2Fxcb%2Fproto diff --git a/src/xinput.xml b/src/xinput.xml index 976855a..c569257 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -46,48 +46,10 @@ This will, e.g., be necessary for automatically generated byte-order conversion which will, e.g., be necessary for server-side xcb. This affects the following: -* GetFeedbackControl reply field "feedbacks" ( structs FeedbackState, ... ) -* ChangeFeedbackControl request field "feedback" ( structs FeedbackCtl, ... ) -* QueryDeviceState reply field "classes" ( structs InputState, ... ) -* GetDeviceControl reply field "control" ( structs DeviceState, ... ) -* ChangeDeviceControl request field "control" ( structs ChangeDeviceControl, ... ) -* XIChangeHierarchy request field "changes" ( structs HierarchyChange, ... ) -* struct XIDeviceInfo field "classes" ( structs DeviceClass, ... ) * SendExtensionEvent member "events" ***** -xml and generator have to support of all members of a list - -This is needed for the following XI2-events ( and eventcopies thereof ) - KeyPress - ButtonPress - RawKeyPress - RawKeyPress - RawButtonPress - TouchBegin - RawTouchBegin - - -***** - - should support fields of listmembers. - -This is needed for request "ListInputDevices" - -***** - -xml and generator should support -switch-case similar to switch-bitcase. - -(and maybe: variable sized unions with a mechanism to define -which union-field is selected.) - -One of these features is needed for the InputInfo type -which is used by request "ListInputDevices" for the list "input_infos". - -***** - Parametrized structs This is needed for being able to use the value of the field @@ -217,6 +179,29 @@ in struct DeviceTimeCoord. + + class_id + + Key + + + + + + + Button + + + + Valuator + + + + + axes_len + + + @@ -234,9 +219,15 @@ in struct DeviceTimeCoord. devices_len - - + + + num_class_info + + + + devices_len + + @@ -609,12 +600,56 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + class_id + + Keyboard + + + + + + + + + + 32 + + + + Pointer + + + + + + + String + + + + num_keysyms + + + + Integer + + + + + + Led + + + + + Bell + + + + + + @@ -696,12 +731,51 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + class_id + + Keyboard + + + + + + + + + + + Pointer + + + + + + + String + + + + num_keysyms + + + + Integer + + + + Led + + + + + Bell + + + + + + @@ -862,7 +936,7 @@ in struct DeviceTimeCoord. - + num_valuators @@ -870,14 +944,33 @@ in struct DeviceTimeCoord. - - - - - len - 4 - - + + class_id + + Key + + + + 32 + + + + Button + + + + 32 + + + + Valuator + + + + num_valuators + + + @@ -1006,12 +1099,53 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + control_id + + resolution + + + num_valuators + + + num_valuators + + + num_valuators + + + + abs_calib + + + + + + + + + + + core + + + + + + enable + + + + + abs_area + + + + + + + + @@ -1080,12 +1214,48 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + control_id + + resolution + + + + + num_valuators + + + + abs_calib + + + + + + + + + + + core + + + + + enable + + + + + abs_area + + + + + + + + @@ -1135,30 +1305,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1190,30 +1356,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1341,15 +1503,37 @@ in struct DeviceTimeCoord. - - - - len - 4 - - 4 - - + + type + + AddMaster + + + + + name_len + + + + + RemoveMaster + + + + + + + + AttachSlave + + + + + DetachSlave + + + + @@ -1545,16 +1729,56 @@ in struct DeviceTimeCoord. - - - - - len - 4 - - 8 - - + + type + + Key + + + num_keys + + + + Button + + + + + num_buttons + 31 + + 32 + + + + num_buttons + + + + Valuator + + + + + + + + + + + Scroll + + + + + + + + Touch + + + + @@ -1761,28 +1985,24 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1813,30 +2033,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -2077,8 +2293,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2113,8 +2334,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2233,10 +2459,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2254,10 +2490,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2296,8 +2542,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2336,10 +2587,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + +