From 0f3a98cc622e423ff84ffcbcb719325df7d9c772 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Tue, 15 Jan 2013 20:06:34 +0100 Subject: xinput: Add XI v2.0 Introduced with v2.0 have been various new types, structures, 21 requests and 12 XGE events. All new requests have the "XI" prefix in the name. This prefix can be found in the spec too and avoids name clashes with requests found in prior versions of XI (at least that's (Un)GrabDevice). All new events are X Generic Events. They've a different header then "normal" events. Therefor we've to mark them with the attribute 'xge' set to 'true'. To prevent another name clash one new structure had to be prefixed, too: XIDeviceInfo. Signed-off-by: Daniel Martin --- src/xinput.xml | 799 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 797 insertions(+), 2 deletions(-) diff --git a/src/xinput.xml b/src/xinput.xml index 20ac52b..b6bcaa7 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -1,6 +1,7 @@ + major-version="2" minor-version="0"> xproto @@ -39,6 +41,16 @@ authorization from the authors. + + + + + + + + + + @@ -1046,6 +1058,594 @@ authorization from the authors. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + buttons_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + + + + 1 + 2 + + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mask_len + + + + + + + + + num_mask + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 2 + 3 + 8 + + + + 1 + 2 + 3 + 4 + 5 + + + + 0 + 1 + + + + 1 + 2 + + + + 1 + 2 + + + + + + + + + + + num_buttons + 31 + + 32 + + + + num_buttons + + + + + + + + + + num_keys + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name_len + 3 + + 4 + + 4 + + + + + + + + + + + + + + num_infos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mask_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 31 + + + + + + + + + + + + + + + + + + + + + + + mask_len + + + num_modifiers + + + + + + + num_modifiers + + + + + + + + + + + + + + + num_modifiers + + + + + + + + + + + + + + num_properties + + + + + + + + + + + + + + + format + + + 8Bits + + num_items + + + + 16Bits + + num_items + + + + 32Bits + + num_items + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + format + + + 8Bits + + num_items + + + + 16Bits + + num_items + + + + 32Bits + + num_items + + + + + + + + + + + + + + + + num_masks + + + + + + + + 1 + 2 + + + + + + + + + + + + + num_classes + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + + + buttons_len + + + valuators_len + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + + + buttons_len + + + valuators_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + buttons_len + + + + + + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + + + + + + + + + + + + + + + + + + + + + num_infos + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3