From: Daniel Martin Date: Tue, 15 Jan 2013 19:06:34 +0000 (+0100) Subject: xinput: Add XI v2.0 X-Git-Tag: xcb-proto-1.9~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f3a98cc622e423ff84ffcbcb719325df7d9c772;p=platform%2Fupstream%2Fxcb-proto.git 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 --- 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 + + + + + + + + + + + + + + + + + + +