X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxinput.xml;h=c569257981626a2045f2f408e61218abc97d9c4a;hb=d8c5e82ab26417afc4383ad16ff3e076a6e4434c;hp=109bcbae1116411b50b1ab32ecb3a036fc634a1a;hpb=acced13ba0d8ce57aaf342cc92ee489249cb0fc0;p=free-sw%2Fxcb%2Fproto diff --git a/src/xinput.xml b/src/xinput.xml index 109bcba..c569257 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -46,38 +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: -* QueryDeviceState reply field "classes" ( structs InputState, ... ) -* 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 - -***** - -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 @@ -1242,12 +1214,48 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + control_id + + resolution + + + + + num_valuators + + + + abs_calib + + + + + + + + + + + core + + + + + enable + + + + + abs_area + + + + + + + + @@ -1348,30 +1356,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1499,15 +1503,37 @@ in struct DeviceTimeCoord. - - - - len - 4 - - 4 - - + + type + + AddMaster + + + + + name_len + + + + + RemoveMaster + + + + + + + + AttachSlave + + + + + DetachSlave + + + + @@ -1703,16 +1729,56 @@ in struct DeviceTimeCoord. - - - - - len - 4 - - 8 - - + + type + + Key + + + num_keys + + + + Button + + + + + num_buttons + 31 + + 32 + + + + num_buttons + + + + Valuator + + + + + + + + + + + Scroll + + + + + + + + Touch + + + + @@ -1919,28 +1985,24 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1971,30 +2033,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -2235,8 +2293,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2271,8 +2334,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2391,10 +2459,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2412,10 +2490,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2454,8 +2542,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2494,10 +2587,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + +