X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxinput.xml;h=c569257981626a2045f2f408e61218abc97d9c4a;hb=fffbd04d6344e2fa82f744935caf4be8a3b18a73;hp=98f7dec9927410048ea2dcee42f1022b0d59d137;hpb=022cec314e0bcac2acc5c26fccf755f30cf60464;p=free-sw%2Fxcb%2Fproto diff --git a/src/xinput.xml b/src/xinput.xml index 98f7dec..c569257 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -46,40 +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: -* 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 - -***** - -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 @@ -761,12 +731,51 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + class_id + + Keyboard + + + + + + + + + + + Pointer + + + + + + + String + + + + num_keysyms + + + + Integer + + + + Led + + + + + Bell + + + + + + @@ -1090,12 +1099,53 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + control_id + + resolution + + + num_valuators + + + num_valuators + + + num_valuators + + + + abs_calib + + + + + + + + + + + core + + + + + + enable + + + + + abs_area + + + + + + + + @@ -1164,12 +1214,48 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + control_id + + resolution + + + + + num_valuators + + + + abs_calib + + + + + + + + + + + core + + + + + enable + + + + + abs_area + + + + + + + + @@ -1270,30 +1356,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1421,15 +1503,37 @@ in struct DeviceTimeCoord. - - - - len - 4 - - 4 - - + + type + + AddMaster + + + + + name_len + + + + + RemoveMaster + + + + + + + + AttachSlave + + + + + DetachSlave + + + + @@ -1625,16 +1729,56 @@ in struct DeviceTimeCoord. - - - - - len - 4 - - 8 - - + + type + + Key + + + num_keys + + + + Button + + + + + num_buttons + 31 + + 32 + + + + num_buttons + + + + Valuator + + + + + + + + + + + Scroll + + + + + + + + Touch + + + + @@ -1841,28 +1985,24 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -1893,30 +2033,26 @@ in struct DeviceTimeCoord. format - - + 8Bits num_items - - + + 16Bits num_items - - + + 32Bits num_items - + @@ -2157,8 +2293,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2193,8 +2334,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2313,10 +2459,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2334,10 +2490,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2376,8 +2542,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + @@ -2416,10 +2587,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + +