1# ----------------------------------------------------------------------------
2# pyglet
3# Copyright (c) 2006-2008 Alex Holkner
4# Copyright (c) 2008-2021 pyglet contributors
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10#
11#  * Redistributions of source code must retain the above copyright
12#    notice, this list of conditions and the following disclaimer.
13#  * Redistributions in binary form must reproduce the above copyright
14#    notice, this list of conditions and the following disclaimer in
15#    the documentation and/or other materials provided with the
16#    distribution.
17#  * Neither the name of pyglet nor the names of its
18#    contributors may be used to endorse or promote products
19#    derived from this software without specific prior written
20#    permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33# POSSIBILITY OF SUCH DAMAGE.
34# ----------------------------------------------------------------------------
35"""Wrapper for Xi
36
37Generated with:
38tools/genwrappers.py xinput
39
40Do not modify this file.
41"""
42
43import ctypes
44from ctypes import *
45
46import pyglet.lib
47
48_lib = pyglet.lib.load_library('Xi')
49
50_int_types = (c_int16, c_int32)
51if hasattr(ctypes, 'c_int64'):
52    # Some builds of ctypes apparently do not have c_int64
53    # defined; it's a pretty good bet that these builds do not
54    # have 64-bit pointers.
55    _int_types += (ctypes.c_int64,)
56for t in _int_types:
57    if sizeof(t) == sizeof(c_size_t):
58        c_ptrdiff_t = t
59
60class c_void(Structure):
61    # c_void_p is a buggy return type, converting to int, so
62    # POINTER(None) == c_void_p is actually written as
63    # POINTER(c_void), so it can be treated as a real pointer.
64    _fields_ = [('dummy', c_int)]
65
66
67import pyglet.libs.x11.xlib
68
69sz_xGetExtensionVersionReq = 8 	# /usr/include/X11/extensions/XI.h:56
70sz_xGetExtensionVersionReply = 32 	# /usr/include/X11/extensions/XI.h:57
71sz_xListInputDevicesReq = 4 	# /usr/include/X11/extensions/XI.h:58
72sz_xListInputDevicesReply = 32 	# /usr/include/X11/extensions/XI.h:59
73sz_xListDevicePropertiesReq = 8     # /usr/include/X11/extensions/XI.h
74sz_xListDevicePropertiesReply = 32  # /usr/include/X11/extensions/XI.h
75sz_xGetDevicePropertyReq = 24     # /usr/include/X11/extensions/XI.h
76sz_xGetDevicePropertyReply = 32  # /usr/include/X11/extensions/XI.h
77sz_xOpenDeviceReq = 8 	# /usr/include/X11/extensions/XI.h:60
78sz_xOpenDeviceReply = 32 	# /usr/include/X11/extensions/XI.h:61
79sz_xCloseDeviceReq = 8 	# /usr/include/X11/extensions/XI.h:62
80sz_xSetDeviceModeReq = 8 	# /usr/include/X11/extensions/XI.h:63
81sz_xSetDeviceModeReply = 32 	# /usr/include/X11/extensions/XI.h:64
82sz_xSelectExtensionEventReq = 12 	# /usr/include/X11/extensions/XI.h:65
83sz_xGetSelectedExtensionEventsReq = 8 	# /usr/include/X11/extensions/XI.h:66
84sz_xGetSelectedExtensionEventsReply = 32 	# /usr/include/X11/extensions/XI.h:67
85sz_xChangeDeviceDontPropagateListReq = 12 	# /usr/include/X11/extensions/XI.h:68
86sz_xGetDeviceDontPropagateListReq = 8 	# /usr/include/X11/extensions/XI.h:69
87sz_xGetDeviceDontPropagateListReply = 32 	# /usr/include/X11/extensions/XI.h:70
88sz_xGetDeviceMotionEventsReq = 16 	# /usr/include/X11/extensions/XI.h:71
89sz_xGetDeviceMotionEventsReply = 32 	# /usr/include/X11/extensions/XI.h:72
90sz_xChangeKeyboardDeviceReq = 8 	# /usr/include/X11/extensions/XI.h:73
91sz_xChangeKeyboardDeviceReply = 32 	# /usr/include/X11/extensions/XI.h:74
92sz_xChangePointerDeviceReq = 8 	# /usr/include/X11/extensions/XI.h:75
93sz_xChangePointerDeviceReply = 32 	# /usr/include/X11/extensions/XI.h:76
94sz_xGrabDeviceReq = 20 	# /usr/include/X11/extensions/XI.h:77
95sz_xGrabDeviceReply = 32 	# /usr/include/X11/extensions/XI.h:78
96sz_xUngrabDeviceReq = 12 	# /usr/include/X11/extensions/XI.h:79
97sz_xGrabDeviceKeyReq = 20 	# /usr/include/X11/extensions/XI.h:80
98sz_xGrabDeviceKeyReply = 32 	# /usr/include/X11/extensions/XI.h:81
99sz_xUngrabDeviceKeyReq = 16 	# /usr/include/X11/extensions/XI.h:82
100sz_xGrabDeviceButtonReq = 20 	# /usr/include/X11/extensions/XI.h:83
101sz_xGrabDeviceButtonReply = 32 	# /usr/include/X11/extensions/XI.h:84
102sz_xUngrabDeviceButtonReq = 16 	# /usr/include/X11/extensions/XI.h:85
103sz_xAllowDeviceEventsReq = 12 	# /usr/include/X11/extensions/XI.h:86
104sz_xGetDeviceFocusReq = 8 	# /usr/include/X11/extensions/XI.h:87
105sz_xGetDeviceFocusReply = 32 	# /usr/include/X11/extensions/XI.h:88
106sz_xSetDeviceFocusReq = 16 	# /usr/include/X11/extensions/XI.h:89
107sz_xGetFeedbackControlReq = 8 	# /usr/include/X11/extensions/XI.h:90
108sz_xGetFeedbackControlReply = 32 	# /usr/include/X11/extensions/XI.h:91
109sz_xChangeFeedbackControlReq = 12 	# /usr/include/X11/extensions/XI.h:92
110sz_xGetDeviceKeyMappingReq = 8 	# /usr/include/X11/extensions/XI.h:93
111sz_xGetDeviceKeyMappingReply = 32 	# /usr/include/X11/extensions/XI.h:94
112sz_xChangeDeviceKeyMappingReq = 8 	# /usr/include/X11/extensions/XI.h:95
113sz_xGetDeviceModifierMappingReq = 8 	# /usr/include/X11/extensions/XI.h:96
114sz_xSetDeviceModifierMappingReq = 8 	# /usr/include/X11/extensions/XI.h:97
115sz_xSetDeviceModifierMappingReply = 32 	# /usr/include/X11/extensions/XI.h:98
116sz_xGetDeviceButtonMappingReq = 8 	# /usr/include/X11/extensions/XI.h:99
117sz_xGetDeviceButtonMappingReply = 32 	# /usr/include/X11/extensions/XI.h:100
118sz_xSetDeviceButtonMappingReq = 8 	# /usr/include/X11/extensions/XI.h:101
119sz_xSetDeviceButtonMappingReply = 32 	# /usr/include/X11/extensions/XI.h:102
120sz_xQueryDeviceStateReq = 8 	# /usr/include/X11/extensions/XI.h:103
121sz_xQueryDeviceStateReply = 32 	# /usr/include/X11/extensions/XI.h:104
122sz_xSendExtensionEventReq = 16 	# /usr/include/X11/extensions/XI.h:105
123sz_xDeviceBellReq = 8 	# /usr/include/X11/extensions/XI.h:106
124sz_xSetDeviceValuatorsReq = 8 	# /usr/include/X11/extensions/XI.h:107
125sz_xSetDeviceValuatorsReply = 32 	# /usr/include/X11/extensions/XI.h:108
126sz_xGetDeviceControlReq = 8 	# /usr/include/X11/extensions/XI.h:109
127sz_xGetDeviceControlReply = 32 	# /usr/include/X11/extensions/XI.h:110
128sz_xChangeDeviceControlReq = 8 	# /usr/include/X11/extensions/XI.h:111
129sz_xChangeDeviceControlReply = 32 	# /usr/include/X11/extensions/XI.h:112
130Dont_Check = 0 	# /usr/include/X11/extensions/XI.h:135
131XInput_Initial_Release = 1 	# /usr/include/X11/extensions/XI.h:136
132XInput_Add_XDeviceBell = 2 	# /usr/include/X11/extensions/XI.h:137
133XInput_Add_XSetDeviceValuators = 3 	# /usr/include/X11/extensions/XI.h:138
134XInput_Add_XChangeDeviceControl = 4 	# /usr/include/X11/extensions/XI.h:139
135XInput_Add_DevicePresenceNotify = 5 	# /usr/include/X11/extensions/XI.h:140
136XI_Absent = 0 	# /usr/include/X11/extensions/XI.h:142
137XI_Present = 1 	# /usr/include/X11/extensions/XI.h:143
138XI_Initial_Release_Major = 1 	# /usr/include/X11/extensions/XI.h:145
139XI_Initial_Release_Minor = 0 	# /usr/include/X11/extensions/XI.h:146
140XI_Add_XDeviceBell_Major = 1 	# /usr/include/X11/extensions/XI.h:148
141XI_Add_XDeviceBell_Minor = 1 	# /usr/include/X11/extensions/XI.h:149
142XI_Add_XSetDeviceValuators_Major = 1 	# /usr/include/X11/extensions/XI.h:151
143XI_Add_XSetDeviceValuators_Minor = 2 	# /usr/include/X11/extensions/XI.h:152
144XI_Add_XChangeDeviceControl_Major = 1 	# /usr/include/X11/extensions/XI.h:154
145XI_Add_XChangeDeviceControl_Minor = 3 	# /usr/include/X11/extensions/XI.h:155
146XI_Add_DevicePresenceNotify_Major = 1 	# /usr/include/X11/extensions/XI.h:157
147XI_Add_DevicePresenceNotify_Minor = 4 	# /usr/include/X11/extensions/XI.h:158
148DEVICE_RESOLUTION = 1 	# /usr/include/X11/extensions/XI.h:160
149DEVICE_ABS_CALIB = 2 	# /usr/include/X11/extensions/XI.h:161
150DEVICE_CORE = 3 	# /usr/include/X11/extensions/XI.h:162
151DEVICE_ENABLE = 4 	# /usr/include/X11/extensions/XI.h:163
152DEVICE_ABS_AREA = 5 	# /usr/include/X11/extensions/XI.h:164
153NoSuchExtension = 1 	# /usr/include/X11/extensions/XI.h:166
154COUNT = 0 	# /usr/include/X11/extensions/XI.h:168
155CREATE = 1 	# /usr/include/X11/extensions/XI.h:169
156NewPointer = 0 	# /usr/include/X11/extensions/XI.h:171
157NewKeyboard = 1 	# /usr/include/X11/extensions/XI.h:172
158XPOINTER = 0 	# /usr/include/X11/extensions/XI.h:174
159XKEYBOARD = 1 	# /usr/include/X11/extensions/XI.h:175
160UseXKeyboard = 255 	# /usr/include/X11/extensions/XI.h:177
161IsXPointer = 0 	# /usr/include/X11/extensions/XI.h:179
162IsXKeyboard = 1 	# /usr/include/X11/extensions/XI.h:180
163IsXExtensionDevice = 2 	# /usr/include/X11/extensions/XI.h:181
164IsXExtensionKeyboard = 3 	# /usr/include/X11/extensions/XI.h:182
165IsXExtensionPointer = 4 	# /usr/include/X11/extensions/XI.h:183
166AsyncThisDevice = 0 	# /usr/include/X11/extensions/XI.h:185
167SyncThisDevice = 1 	# /usr/include/X11/extensions/XI.h:186
168ReplayThisDevice = 2 	# /usr/include/X11/extensions/XI.h:187
169AsyncOtherDevices = 3 	# /usr/include/X11/extensions/XI.h:188
170AsyncAll = 4 	# /usr/include/X11/extensions/XI.h:189
171SyncAll = 5 	# /usr/include/X11/extensions/XI.h:190
172FollowKeyboard = 3 	# /usr/include/X11/extensions/XI.h:192
173RevertToFollowKeyboard = 3 	# /usr/include/X11/extensions/XI.h:194
174DvAccelNum = 1 	# /usr/include/X11/extensions/XI.h:197
175DvAccelDenom = 2 	# /usr/include/X11/extensions/XI.h:198
176DvThreshold = 4 	# /usr/include/X11/extensions/XI.h:199
177DvKeyClickPercent = 1 	# /usr/include/X11/extensions/XI.h:201
178DvPercent = 2 	# /usr/include/X11/extensions/XI.h:202
179DvPitch = 4 	# /usr/include/X11/extensions/XI.h:203
180DvDuration = 8 	# /usr/include/X11/extensions/XI.h:204
181DvLed = 16 	# /usr/include/X11/extensions/XI.h:205
182DvLedMode = 32 	# /usr/include/X11/extensions/XI.h:206
183DvKey = 64 	# /usr/include/X11/extensions/XI.h:207
184DvAutoRepeatMode = 128 	# /usr/include/X11/extensions/XI.h:208
185DvString = 1 	# /usr/include/X11/extensions/XI.h:210
186DvInteger = 1 	# /usr/include/X11/extensions/XI.h:212
187DeviceMode = 1 	# /usr/include/X11/extensions/XI.h:214
188Relative = 0 	# /usr/include/X11/extensions/XI.h:215
189Absolute = 1 	# /usr/include/X11/extensions/XI.h:216
190ProximityState = 2 	# /usr/include/X11/extensions/XI.h:218
191InProximity = 0 	# /usr/include/X11/extensions/XI.h:219
192OutOfProximity = 2 	# /usr/include/X11/extensions/XI.h:220
193AddToList = 0 	# /usr/include/X11/extensions/XI.h:222
194DeleteFromList = 1 	# /usr/include/X11/extensions/XI.h:223
195KeyClass = 0 	# /usr/include/X11/extensions/XI.h:225
196ButtonClass = 1 	# /usr/include/X11/extensions/XI.h:226
197ValuatorClass = 2 	# /usr/include/X11/extensions/XI.h:227
198FeedbackClass = 3 	# /usr/include/X11/extensions/XI.h:228
199ProximityClass = 4 	# /usr/include/X11/extensions/XI.h:229
200FocusClass = 5 	# /usr/include/X11/extensions/XI.h:230
201OtherClass = 6 	# /usr/include/X11/extensions/XI.h:231
202KbdFeedbackClass = 0 	# /usr/include/X11/extensions/XI.h:233
203PtrFeedbackClass = 1 	# /usr/include/X11/extensions/XI.h:234
204StringFeedbackClass = 2 	# /usr/include/X11/extensions/XI.h:235
205IntegerFeedbackClass = 3 	# /usr/include/X11/extensions/XI.h:236
206LedFeedbackClass = 4 	# /usr/include/X11/extensions/XI.h:237
207BellFeedbackClass = 5 	# /usr/include/X11/extensions/XI.h:238
208_devicePointerMotionHint = 0 	# /usr/include/X11/extensions/XI.h:240
209_deviceButton1Motion = 1 	# /usr/include/X11/extensions/XI.h:241
210_deviceButton2Motion = 2 	# /usr/include/X11/extensions/XI.h:242
211_deviceButton3Motion = 3 	# /usr/include/X11/extensions/XI.h:243
212_deviceButton4Motion = 4 	# /usr/include/X11/extensions/XI.h:244
213_deviceButton5Motion = 5 	# /usr/include/X11/extensions/XI.h:245
214_deviceButtonMotion = 6 	# /usr/include/X11/extensions/XI.h:246
215_deviceButtonGrab = 7 	# /usr/include/X11/extensions/XI.h:247
216_deviceOwnerGrabButton = 8 	# /usr/include/X11/extensions/XI.h:248
217_noExtensionEvent = 9 	# /usr/include/X11/extensions/XI.h:249
218_devicePresence = 0 	# /usr/include/X11/extensions/XI.h:251
219DeviceAdded = 0 	# /usr/include/X11/extensions/XI.h:253
220DeviceRemoved = 1 	# /usr/include/X11/extensions/XI.h:254
221DeviceEnabled = 2 	# /usr/include/X11/extensions/XI.h:255
222DeviceDisabled = 3 	# /usr/include/X11/extensions/XI.h:256
223DeviceUnrecoverable = 4 	# /usr/include/X11/extensions/XI.h:257
224XI_BadDevice = 0 	# /usr/include/X11/extensions/XI.h:259
225XI_BadEvent = 1 	# /usr/include/X11/extensions/XI.h:260
226XI_BadMode = 2 	# /usr/include/X11/extensions/XI.h:261
227XI_DeviceBusy = 3 	# /usr/include/X11/extensions/XI.h:262
228XI_BadClass = 4 	# /usr/include/X11/extensions/XI.h:263
229XEventClass = c_ulong 	# /usr/include/X11/extensions/XI.h:272
230class struct_anon_93(Structure):
231    __slots__ = [
232        'present',
233        'major_version',
234        'minor_version',
235    ]
236struct_anon_93._fields_ = [
237    ('present', c_int),
238    ('major_version', c_short),
239    ('minor_version', c_short),
240]
241
242XExtensionVersion = struct_anon_93 	# /usr/include/X11/extensions/XI.h:285
243_deviceKeyPress = 0 	# /usr/include/X11/extensions/XInput.h:4902
244_deviceKeyRelease = 1 	# /usr/include/X11/extensions/XInput.h:4903
245_deviceButtonPress = 0 	# /usr/include/X11/extensions/XInput.h:4905
246_deviceButtonRelease = 1 	# /usr/include/X11/extensions/XInput.h:4906
247_deviceMotionNotify = 0 	# /usr/include/X11/extensions/XInput.h:4908
248_deviceFocusIn = 0 	# /usr/include/X11/extensions/XInput.h:4910
249_deviceFocusOut = 1 	# /usr/include/X11/extensions/XInput.h:4911
250_proximityIn = 0 	# /usr/include/X11/extensions/XInput.h:4913
251_proximityOut = 1 	# /usr/include/X11/extensions/XInput.h:4914
252_deviceStateNotify = 0 	# /usr/include/X11/extensions/XInput.h:4916
253_deviceMappingNotify = 1 	# /usr/include/X11/extensions/XInput.h:4917
254_changeDeviceNotify = 2 	# /usr/include/X11/extensions/XInput.h:4918
255class struct_anon_94(Structure):
256    __slots__ = [
257        'type',
258        'serial',
259        'send_event',
260        'display',
261        'window',
262        'deviceid',
263        'root',
264        'subwindow',
265        'time',
266        'x',
267        'y',
268        'x_root',
269        'y_root',
270        'state',
271        'keycode',
272        'same_screen',
273        'device_state',
274        'axes_count',
275        'first_axis',
276        'axis_data',
277    ]
278Display = pyglet.libs.x11.xlib.Display
279Window = pyglet.libs.x11.xlib.Window
280XID = pyglet.libs.x11.xlib.XID
281Time = pyglet.libs.x11.xlib.Time
282struct_anon_94._fields_ = [
283    ('type', c_int),
284    ('serial', c_ulong),
285    ('send_event', c_int),
286    ('display', POINTER(Display)),
287    ('window', Window),
288    ('deviceid', XID),
289    ('root', Window),
290    ('subwindow', Window),
291    ('time', Time),
292    ('x', c_int),
293    ('y', c_int),
294    ('x_root', c_int),
295    ('y_root', c_int),
296    ('state', c_uint),
297    ('keycode', c_uint),
298    ('same_screen', c_int),
299    ('device_state', c_uint),
300    ('axes_count', c_ubyte),
301    ('first_axis', c_ubyte),
302    ('axis_data', c_int * 6),
303]
304
305XDeviceKeyEvent = struct_anon_94 	# /usr/include/X11/extensions/XInput.h:5043
306XDeviceKeyPressedEvent = XDeviceKeyEvent 	# /usr/include/X11/extensions/XInput.h:5045
307XDeviceKeyReleasedEvent = XDeviceKeyEvent 	# /usr/include/X11/extensions/XInput.h:5046
308class struct_anon_95(Structure):
309    __slots__ = [
310        'type',
311        'serial',
312        'send_event',
313        'display',
314        'window',
315        'deviceid',
316        'root',
317        'subwindow',
318        'time',
319        'x',
320        'y',
321        'x_root',
322        'y_root',
323        'state',
324        'button',
325        'same_screen',
326        'device_state',
327        'axes_count',
328        'first_axis',
329        'axis_data',
330    ]
331struct_anon_95._fields_ = [
332    ('type', c_int),
333    ('serial', c_ulong),
334    ('send_event', c_int),
335    ('display', POINTER(Display)),
336    ('window', Window),
337    ('deviceid', XID),
338    ('root', Window),
339    ('subwindow', Window),
340    ('time', Time),
341    ('x', c_int),
342    ('y', c_int),
343    ('x_root', c_int),
344    ('y_root', c_int),
345    ('state', c_uint),
346    ('button', c_uint),
347    ('same_screen', c_int),
348    ('device_state', c_uint),
349    ('axes_count', c_ubyte),
350    ('first_axis', c_ubyte),
351    ('axis_data', c_int * 6),
352]
353
354XDeviceButtonEvent = struct_anon_95 	# /usr/include/X11/extensions/XInput.h:5075
355XDeviceButtonPressedEvent = XDeviceButtonEvent 	# /usr/include/X11/extensions/XInput.h:5077
356XDeviceButtonReleasedEvent = XDeviceButtonEvent 	# /usr/include/X11/extensions/XInput.h:5078
357class struct_anon_96(Structure):
358    __slots__ = [
359        'type',
360        'serial',
361        'send_event',
362        'display',
363        'window',
364        'deviceid',
365        'root',
366        'subwindow',
367        'time',
368        'x',
369        'y',
370        'x_root',
371        'y_root',
372        'state',
373        'is_hint',
374        'same_screen',
375        'device_state',
376        'axes_count',
377        'first_axis',
378        'axis_data',
379    ]
380struct_anon_96._fields_ = [
381    ('type', c_int),
382    ('serial', c_ulong),
383    ('send_event', c_int),
384    ('display', POINTER(Display)),
385    ('window', Window),
386    ('deviceid', XID),
387    ('root', Window),
388    ('subwindow', Window),
389    ('time', Time),
390    ('x', c_int),
391    ('y', c_int),
392    ('x_root', c_int),
393    ('y_root', c_int),
394    ('state', c_uint),
395    ('is_hint', c_char),
396    ('same_screen', c_int),
397    ('device_state', c_uint),
398    ('axes_count', c_ubyte),
399    ('first_axis', c_ubyte),
400    ('axis_data', c_int * 6),
401]
402
403XDeviceMotionEvent = struct_anon_96 	# /usr/include/X11/extensions/XInput.h:5108
404class struct_anon_97(Structure):
405    __slots__ = [
406        'type',
407        'serial',
408        'send_event',
409        'display',
410        'window',
411        'deviceid',
412        'mode',
413        'detail',
414        'time',
415    ]
416struct_anon_97._fields_ = [
417    ('type', c_int),
418    ('serial', c_ulong),
419    ('send_event', c_int),
420    ('display', POINTER(Display)),
421    ('window', Window),
422    ('deviceid', XID),
423    ('mode', c_int),
424    ('detail', c_int),
425    ('time', Time),
426]
427
428XDeviceFocusChangeEvent = struct_anon_97 	# /usr/include/X11/extensions/XInput.h:5133
429XDeviceFocusInEvent = XDeviceFocusChangeEvent 	# /usr/include/X11/extensions/XInput.h:5135
430XDeviceFocusOutEvent = XDeviceFocusChangeEvent 	# /usr/include/X11/extensions/XInput.h:5136
431class struct_anon_98(Structure):
432    __slots__ = [
433        'type',
434        'serial',
435        'send_event',
436        'display',
437        'window',
438        'deviceid',
439        'root',
440        'subwindow',
441        'time',
442        'x',
443        'y',
444        'x_root',
445        'y_root',
446        'state',
447        'same_screen',
448        'device_state',
449        'axes_count',
450        'first_axis',
451        'axis_data',
452    ]
453struct_anon_98._fields_ = [
454    ('type', c_int),
455    ('serial', c_ulong),
456    ('send_event', c_int),
457    ('display', POINTER(Display)),
458    ('window', Window),
459    ('deviceid', XID),
460    ('root', Window),
461    ('subwindow', Window),
462    ('time', Time),
463    ('x', c_int),
464    ('y', c_int),
465    ('x_root', c_int),
466    ('y_root', c_int),
467    ('state', c_uint),
468    ('same_screen', c_int),
469    ('device_state', c_uint),
470    ('axes_count', c_ubyte),
471    ('first_axis', c_ubyte),
472    ('axis_data', c_int * 6),
473]
474
475XProximityNotifyEvent = struct_anon_98 	# /usr/include/X11/extensions/XInput.h:5164
476XProximityInEvent = XProximityNotifyEvent 	# /usr/include/X11/extensions/XInput.h:5165
477XProximityOutEvent = XProximityNotifyEvent 	# /usr/include/X11/extensions/XInput.h:5166
478class struct_anon_99(Structure):
479    __slots__ = [
480        'class',
481        'length',
482    ]
483struct_anon_99._fields_ = [
484    ('class', c_ubyte),
485    ('length', c_ubyte),
486]
487
488XInputClass = struct_anon_99 	# /usr/include/X11/extensions/XInput.h:5183
489class struct_anon_100(Structure):
490    __slots__ = [
491        'type',
492        'serial',
493        'send_event',
494        'display',
495        'window',
496        'deviceid',
497        'time',
498        'num_classes',
499        'data',
500    ]
501struct_anon_100._fields_ = [
502    ('type', c_int),
503    ('serial', c_ulong),
504    ('send_event', c_int),
505    ('display', POINTER(Display)),
506    ('window', Window),
507    ('deviceid', XID),
508    ('time', Time),
509    ('num_classes', c_int),
510    ('data', c_char * 64),
511]
512
513XDeviceStateNotifyEvent = struct_anon_100 	# /usr/include/X11/extensions/XInput.h:5195
514class struct_anon_101(Structure):
515    __slots__ = [
516        'class',
517        'length',
518        'num_valuators',
519        'mode',
520        'valuators',
521    ]
522struct_anon_101._fields_ = [
523    ('class', c_ubyte),
524    ('length', c_ubyte),
525    ('num_valuators', c_ubyte),
526    ('mode', c_ubyte),
527    ('valuators', c_int * 6),
528]
529
530XValuatorStatus = struct_anon_101 	# /usr/include/X11/extensions/XInput.h:5207
531class struct_anon_102(Structure):
532    __slots__ = [
533        'class',
534        'length',
535        'num_keys',
536        'keys',
537    ]
538struct_anon_102._fields_ = [
539    ('class', c_ubyte),
540    ('length', c_ubyte),
541    ('num_keys', c_short),
542    ('keys', c_char * 32),
543]
544
545XKeyStatus = struct_anon_102 	# /usr/include/X11/extensions/XInput.h:5218
546class struct_anon_103(Structure):
547    __slots__ = [
548        'class',
549        'length',
550        'num_buttons',
551        'buttons',
552    ]
553struct_anon_103._fields_ = [
554    ('class', c_ubyte),
555    ('length', c_ubyte),
556    ('num_buttons', c_short),
557    ('buttons', c_char * 32),
558]
559
560XButtonStatus = struct_anon_103 	# /usr/include/X11/extensions/XInput.h:5229
561class struct_anon_104(Structure):
562    __slots__ = [
563        'type',
564        'serial',
565        'send_event',
566        'display',
567        'window',
568        'deviceid',
569        'time',
570        'request',
571        'first_keycode',
572        'count',
573    ]
574struct_anon_104._fields_ = [
575    ('type', c_int),
576    ('serial', c_ulong),
577    ('send_event', c_int),
578    ('display', POINTER(Display)),
579    ('window', Window),
580    ('deviceid', XID),
581    ('time', Time),
582    ('request', c_int),
583    ('first_keycode', c_int),
584    ('count', c_int),
585]
586
587XDeviceMappingEvent = struct_anon_104 	# /usr/include/X11/extensions/XInput.h:5250
588class struct_anon_105(Structure):
589    __slots__ = [
590        'type',
591        'serial',
592        'send_event',
593        'display',
594        'window',
595        'deviceid',
596        'time',
597        'request',
598    ]
599struct_anon_105._fields_ = [
600    ('type', c_int),
601    ('serial', c_ulong),
602    ('send_event', c_int),
603    ('display', POINTER(Display)),
604    ('window', Window),
605    ('deviceid', XID),
606    ('time', Time),
607    ('request', c_int),
608]
609
610XChangeDeviceNotifyEvent = struct_anon_105 	# /usr/include/X11/extensions/XInput.h:5268
611class struct_anon_106(Structure):
612    __slots__ = [
613        'type',
614        'serial',
615        'send_event',
616        'display',
617        'window',
618        'time',
619        'devchange',
620        'deviceid',
621        'control',
622    ]
623struct_anon_106._fields_ = [
624    ('type', c_int),
625    ('serial', c_ulong),
626    ('send_event', c_int),
627    ('display', POINTER(Display)),
628    ('window', Window),
629    ('time', Time),
630    ('devchange', c_int),
631    ('deviceid', XID),
632    ('control', XID),
633]
634
635XDevicePresenceNotifyEvent = struct_anon_106 	# /usr/include/X11/extensions/XInput.h:5293
636class struct_anon_107(Structure):
637    __slots__ = [
638        'class',
639        'length',
640        'id',
641    ]
642struct_anon_107._fields_ = [
643    ('class', XID),
644    ('length', c_int),
645    ('id', XID),
646]
647
648XFeedbackState = struct_anon_107 	# /usr/include/X11/extensions/XInput.h:5311
649class struct_anon_108(Structure):
650    __slots__ = [
651        'class',
652        'length',
653        'id',
654        'click',
655        'percent',
656        'pitch',
657        'duration',
658        'led_mask',
659        'global_auto_repeat',
660        'auto_repeats',
661    ]
662struct_anon_108._fields_ = [
663    ('class', XID),
664    ('length', c_int),
665    ('id', XID),
666    ('click', c_int),
667    ('percent', c_int),
668    ('pitch', c_int),
669    ('duration', c_int),
670    ('led_mask', c_int),
671    ('global_auto_repeat', c_int),
672    ('auto_repeats', c_char * 32),
673]
674
675XKbdFeedbackState = struct_anon_108 	# /usr/include/X11/extensions/XInput.h:5328
676class struct_anon_109(Structure):
677    __slots__ = [
678        'class',
679        'length',
680        'id',
681        'accelNum',
682        'accelDenom',
683        'threshold',
684    ]
685struct_anon_109._fields_ = [
686    ('class', XID),
687    ('length', c_int),
688    ('id', XID),
689    ('accelNum', c_int),
690    ('accelDenom', c_int),
691    ('threshold', c_int),
692]
693
694XPtrFeedbackState = struct_anon_109 	# /usr/include/X11/extensions/XInput.h:5341
695class struct_anon_110(Structure):
696    __slots__ = [
697        'class',
698        'length',
699        'id',
700        'resolution',
701        'minVal',
702        'maxVal',
703    ]
704struct_anon_110._fields_ = [
705    ('class', XID),
706    ('length', c_int),
707    ('id', XID),
708    ('resolution', c_int),
709    ('minVal', c_int),
710    ('maxVal', c_int),
711]
712
713XIntegerFeedbackState = struct_anon_110 	# /usr/include/X11/extensions/XInput.h:5354
714class struct_anon_111(Structure):
715    __slots__ = [
716        'class',
717        'length',
718        'id',
719        'max_symbols',
720        'num_syms_supported',
721        'syms_supported',
722    ]
723KeySym = pyglet.libs.x11.xlib.KeySym
724struct_anon_111._fields_ = [
725    ('class', XID),
726    ('length', c_int),
727    ('id', XID),
728    ('max_symbols', c_int),
729    ('num_syms_supported', c_int),
730    ('syms_supported', POINTER(KeySym)),
731]
732
733XStringFeedbackState = struct_anon_111 	# /usr/include/X11/extensions/XInput.h:5367
734class struct_anon_112(Structure):
735    __slots__ = [
736        'class',
737        'length',
738        'id',
739        'percent',
740        'pitch',
741        'duration',
742    ]
743struct_anon_112._fields_ = [
744    ('class', XID),
745    ('length', c_int),
746    ('id', XID),
747    ('percent', c_int),
748    ('pitch', c_int),
749    ('duration', c_int),
750]
751
752XBellFeedbackState = struct_anon_112 	# /usr/include/X11/extensions/XInput.h:5380
753class struct_anon_113(Structure):
754    __slots__ = [
755        'class',
756        'length',
757        'id',
758        'led_values',
759        'led_mask',
760    ]
761struct_anon_113._fields_ = [
762    ('class', XID),
763    ('length', c_int),
764    ('id', XID),
765    ('led_values', c_int),
766    ('led_mask', c_int),
767]
768
769XLedFeedbackState = struct_anon_113 	# /usr/include/X11/extensions/XInput.h:5392
770class struct_anon_114(Structure):
771    __slots__ = [
772        'class',
773        'length',
774        'id',
775    ]
776struct_anon_114._fields_ = [
777    ('class', XID),
778    ('length', c_int),
779    ('id', XID),
780]
781
782XFeedbackControl = struct_anon_114 	# /usr/include/X11/extensions/XInput.h:5402
783class struct_anon_115(Structure):
784    __slots__ = [
785        'class',
786        'length',
787        'id',
788        'accelNum',
789        'accelDenom',
790        'threshold',
791    ]
792struct_anon_115._fields_ = [
793    ('class', XID),
794    ('length', c_int),
795    ('id', XID),
796    ('accelNum', c_int),
797    ('accelDenom', c_int),
798    ('threshold', c_int),
799]
800
801XPtrFeedbackControl = struct_anon_115 	# /usr/include/X11/extensions/XInput.h:5415
802class struct_anon_116(Structure):
803    __slots__ = [
804        'class',
805        'length',
806        'id',
807        'click',
808        'percent',
809        'pitch',
810        'duration',
811        'led_mask',
812        'led_value',
813        'key',
814        'auto_repeat_mode',
815    ]
816struct_anon_116._fields_ = [
817    ('class', XID),
818    ('length', c_int),
819    ('id', XID),
820    ('click', c_int),
821    ('percent', c_int),
822    ('pitch', c_int),
823    ('duration', c_int),
824    ('led_mask', c_int),
825    ('led_value', c_int),
826    ('key', c_int),
827    ('auto_repeat_mode', c_int),
828]
829
830XKbdFeedbackControl = struct_anon_116 	# /usr/include/X11/extensions/XInput.h:5433
831class struct_anon_117(Structure):
832    __slots__ = [
833        'class',
834        'length',
835        'id',
836        'num_keysyms',
837        'syms_to_display',
838    ]
839struct_anon_117._fields_ = [
840    ('class', XID),
841    ('length', c_int),
842    ('id', XID),
843    ('num_keysyms', c_int),
844    ('syms_to_display', POINTER(KeySym)),
845]
846
847XStringFeedbackControl = struct_anon_117 	# /usr/include/X11/extensions/XInput.h:5445
848class struct_anon_118(Structure):
849    __slots__ = [
850        'class',
851        'length',
852        'id',
853        'int_to_display',
854    ]
855struct_anon_118._fields_ = [
856    ('class', XID),
857    ('length', c_int),
858    ('id', XID),
859    ('int_to_display', c_int),
860]
861
862XIntegerFeedbackControl = struct_anon_118 	# /usr/include/X11/extensions/XInput.h:5456
863class struct_anon_119(Structure):
864    __slots__ = [
865        'class',
866        'length',
867        'id',
868        'percent',
869        'pitch',
870        'duration',
871    ]
872struct_anon_119._fields_ = [
873    ('class', XID),
874    ('length', c_int),
875    ('id', XID),
876    ('percent', c_int),
877    ('pitch', c_int),
878    ('duration', c_int),
879]
880
881XBellFeedbackControl = struct_anon_119 	# /usr/include/X11/extensions/XInput.h:5469
882class struct_anon_120(Structure):
883    __slots__ = [
884        'class',
885        'length',
886        'id',
887        'led_mask',
888        'led_values',
889    ]
890struct_anon_120._fields_ = [
891    ('class', XID),
892    ('length', c_int),
893    ('id', XID),
894    ('led_mask', c_int),
895    ('led_values', c_int),
896]
897
898XLedFeedbackControl = struct_anon_120 	# /usr/include/X11/extensions/XInput.h:5481
899class struct_anon_121(Structure):
900    __slots__ = [
901        'control',
902        'length',
903    ]
904struct_anon_121._fields_ = [
905    ('control', XID),
906    ('length', c_int),
907]
908
909XDeviceControl = struct_anon_121 	# /usr/include/X11/extensions/XInput.h:5492
910class struct_anon_122(Structure):
911    __slots__ = [
912        'control',
913        'length',
914        'first_valuator',
915        'num_valuators',
916        'resolutions',
917    ]
918struct_anon_122._fields_ = [
919    ('control', XID),
920    ('length', c_int),
921    ('first_valuator', c_int),
922    ('num_valuators', c_int),
923    ('resolutions', POINTER(c_int)),
924]
925
926XDeviceResolutionControl = struct_anon_122 	# /usr/include/X11/extensions/XInput.h:5500
927class struct_anon_123(Structure):
928    __slots__ = [
929        'control',
930        'length',
931        'num_valuators',
932        'resolutions',
933        'min_resolutions',
934        'max_resolutions',
935    ]
936struct_anon_123._fields_ = [
937    ('control', XID),
938    ('length', c_int),
939    ('num_valuators', c_int),
940    ('resolutions', POINTER(c_int)),
941    ('min_resolutions', POINTER(c_int)),
942    ('max_resolutions', POINTER(c_int)),
943]
944
945XDeviceResolutionState = struct_anon_123 	# /usr/include/X11/extensions/XInput.h:5509
946class struct_anon_124(Structure):
947    __slots__ = [
948        'control',
949        'length',
950        'min_x',
951        'max_x',
952        'min_y',
953        'max_y',
954        'flip_x',
955        'flip_y',
956        'rotation',
957        'button_threshold',
958    ]
959struct_anon_124._fields_ = [
960    ('control', XID),
961    ('length', c_int),
962    ('min_x', c_int),
963    ('max_x', c_int),
964    ('min_y', c_int),
965    ('max_y', c_int),
966    ('flip_x', c_int),
967    ('flip_y', c_int),
968    ('rotation', c_int),
969    ('button_threshold', c_int),
970]
971
972XDeviceAbsCalibControl = struct_anon_124 	# /usr/include/X11/extensions/XInput.h:5522
973class struct_anon_125(Structure):
974    __slots__ = [
975        'control',
976        'length',
977        'min_x',
978        'max_x',
979        'min_y',
980        'max_y',
981        'flip_x',
982        'flip_y',
983        'rotation',
984        'button_threshold',
985    ]
986struct_anon_125._fields_ = [
987    ('control', XID),
988    ('length', c_int),
989    ('min_x', c_int),
990    ('max_x', c_int),
991    ('min_y', c_int),
992    ('max_y', c_int),
993    ('flip_x', c_int),
994    ('flip_y', c_int),
995    ('rotation', c_int),
996    ('button_threshold', c_int),
997]
998
999XDeviceAbsCalibState = struct_anon_125 	# /usr/include/X11/extensions/XInput.h:5522
1000class struct_anon_126(Structure):
1001    __slots__ = [
1002        'control',
1003        'length',
1004        'offset_x',
1005        'offset_y',
1006        'width',
1007        'height',
1008        'screen',
1009        'following',
1010    ]
1011struct_anon_126._fields_ = [
1012    ('control', XID),
1013    ('length', c_int),
1014    ('offset_x', c_int),
1015    ('offset_y', c_int),
1016    ('width', c_int),
1017    ('height', c_int),
1018    ('screen', c_int),
1019    ('following', XID),
1020]
1021
1022XDeviceAbsAreaControl = struct_anon_126 	# /usr/include/X11/extensions/XInput.h:5533
1023class struct_anon_127(Structure):
1024    __slots__ = [
1025        'control',
1026        'length',
1027        'offset_x',
1028        'offset_y',
1029        'width',
1030        'height',
1031        'screen',
1032        'following',
1033    ]
1034struct_anon_127._fields_ = [
1035    ('control', XID),
1036    ('length', c_int),
1037    ('offset_x', c_int),
1038    ('offset_y', c_int),
1039    ('width', c_int),
1040    ('height', c_int),
1041    ('screen', c_int),
1042    ('following', XID),
1043]
1044
1045XDeviceAbsAreaState = struct_anon_127 	# /usr/include/X11/extensions/XInput.h:5533
1046class struct_anon_128(Structure):
1047    __slots__ = [
1048        'control',
1049        'length',
1050        'status',
1051    ]
1052struct_anon_128._fields_ = [
1053    ('control', XID),
1054    ('length', c_int),
1055    ('status', c_int),
1056]
1057
1058XDeviceCoreControl = struct_anon_128 	# /usr/include/X11/extensions/XInput.h:5539
1059class struct_anon_129(Structure):
1060    __slots__ = [
1061        'control',
1062        'length',
1063        'status',
1064        'iscore',
1065    ]
1066struct_anon_129._fields_ = [
1067    ('control', XID),
1068    ('length', c_int),
1069    ('status', c_int),
1070    ('iscore', c_int),
1071]
1072
1073XDeviceCoreState = struct_anon_129 	# /usr/include/X11/extensions/XInput.h:5546
1074class struct_anon_130(Structure):
1075    __slots__ = [
1076        'control',
1077        'length',
1078        'enable',
1079    ]
1080struct_anon_130._fields_ = [
1081    ('control', XID),
1082    ('length', c_int),
1083    ('enable', c_int),
1084]
1085
1086XDeviceEnableControl = struct_anon_130 	# /usr/include/X11/extensions/XInput.h:5552
1087class struct_anon_131(Structure):
1088    __slots__ = [
1089        'control',
1090        'length',
1091        'enable',
1092    ]
1093struct_anon_131._fields_ = [
1094    ('control', XID),
1095    ('length', c_int),
1096    ('enable', c_int),
1097]
1098
1099XDeviceEnableState = struct_anon_131 	# /usr/include/X11/extensions/XInput.h:5552
1100class struct__XAnyClassinfo(Structure):
1101    __slots__ = [
1102    ]
1103struct__XAnyClassinfo._fields_ = [
1104    ('_opaque_struct', c_int)
1105]
1106
1107class struct__XAnyClassinfo(Structure):
1108    __slots__ = [
1109    ]
1110struct__XAnyClassinfo._fields_ = [
1111    ('_opaque_struct', c_int)
1112]
1113
1114XAnyClassPtr = POINTER(struct__XAnyClassinfo) 	# /usr/include/X11/extensions/XInput.h:5564
1115class struct__XAnyClassinfo(Structure):
1116    __slots__ = [
1117        'class',
1118        'length',
1119    ]
1120struct__XAnyClassinfo._fields_ = [
1121    ('class', XID),
1122    ('length', c_int),
1123]
1124
1125XAnyClassInfo = struct__XAnyClassinfo 	# /usr/include/X11/extensions/XInput.h:5573
1126class struct__XDeviceInfo(Structure):
1127    __slots__ = [
1128    ]
1129struct__XDeviceInfo._fields_ = [
1130    ('_opaque_struct', c_int)
1131]
1132
1133class struct__XDeviceInfo(Structure):
1134    __slots__ = [
1135    ]
1136struct__XDeviceInfo._fields_ = [
1137    ('_opaque_struct', c_int)
1138]
1139
1140XDeviceInfoPtr = POINTER(struct__XDeviceInfo) 	# /usr/include/X11/extensions/XInput.h:5575
1141class struct__XDeviceInfo(Structure):
1142    __slots__ = [
1143        'id',
1144        'type',
1145        'name',
1146        'num_classes',
1147        'use',
1148        'inputclassinfo',
1149    ]
1150Atom = pyglet.libs.x11.xlib.Atom
1151struct__XDeviceInfo._fields_ = [
1152    ('id', XID),
1153    ('type', Atom),
1154    ('name', c_char_p),
1155    ('num_classes', c_int),
1156    ('use', c_int),
1157    ('inputclassinfo', XAnyClassPtr),
1158]
1159
1160XDeviceInfo = struct__XDeviceInfo 	# /usr/include/X11/extensions/XInput.h:5585
1161class struct__XKeyInfo(Structure):
1162    __slots__ = [
1163    ]
1164struct__XKeyInfo._fields_ = [
1165    ('_opaque_struct', c_int)
1166]
1167
1168class struct__XKeyInfo(Structure):
1169    __slots__ = [
1170    ]
1171struct__XKeyInfo._fields_ = [
1172    ('_opaque_struct', c_int)
1173]
1174
1175XKeyInfoPtr = POINTER(struct__XKeyInfo) 	# /usr/include/X11/extensions/XInput.h:5587
1176class struct__XKeyInfo(Structure):
1177    __slots__ = [
1178        'class',
1179        'length',
1180        'min_keycode',
1181        'max_keycode',
1182        'num_keys',
1183    ]
1184struct__XKeyInfo._fields_ = [
1185    ('class', XID),
1186    ('length', c_int),
1187    ('min_keycode', c_ushort),
1188    ('max_keycode', c_ushort),
1189    ('num_keys', c_ushort),
1190]
1191
1192XKeyInfo = struct__XKeyInfo 	# /usr/include/X11/extensions/XInput.h:5600
1193class struct__XButtonInfo(Structure):
1194    __slots__ = [
1195    ]
1196struct__XButtonInfo._fields_ = [
1197    ('_opaque_struct', c_int)
1198]
1199
1200class struct__XButtonInfo(Structure):
1201    __slots__ = [
1202    ]
1203struct__XButtonInfo._fields_ = [
1204    ('_opaque_struct', c_int)
1205]
1206
1207XButtonInfoPtr = POINTER(struct__XButtonInfo) 	# /usr/include/X11/extensions/XInput.h:5602
1208class struct__XButtonInfo(Structure):
1209    __slots__ = [
1210        'class',
1211        'length',
1212        'num_buttons',
1213    ]
1214struct__XButtonInfo._fields_ = [
1215    ('class', XID),
1216    ('length', c_int),
1217    ('num_buttons', c_short),
1218]
1219
1220XButtonInfo = struct__XButtonInfo 	# /usr/include/X11/extensions/XInput.h:5612
1221class struct__XAxisInfo(Structure):
1222    __slots__ = [
1223    ]
1224struct__XAxisInfo._fields_ = [
1225    ('_opaque_struct', c_int)
1226]
1227
1228class struct__XAxisInfo(Structure):
1229    __slots__ = [
1230    ]
1231struct__XAxisInfo._fields_ = [
1232    ('_opaque_struct', c_int)
1233]
1234
1235XAxisInfoPtr = POINTER(struct__XAxisInfo) 	# /usr/include/X11/extensions/XInput.h:5614
1236class struct__XAxisInfo(Structure):
1237    __slots__ = [
1238        'resolution',
1239        'min_value',
1240        'max_value',
1241    ]
1242struct__XAxisInfo._fields_ = [
1243    ('resolution', c_int),
1244    ('min_value', c_int),
1245    ('max_value', c_int),
1246]
1247
1248XAxisInfo = struct__XAxisInfo 	# /usr/include/X11/extensions/XInput.h:5620
1249class struct__XValuatorInfo(Structure):
1250    __slots__ = [
1251    ]
1252struct__XValuatorInfo._fields_ = [
1253    ('_opaque_struct', c_int)
1254]
1255
1256class struct__XValuatorInfo(Structure):
1257    __slots__ = [
1258    ]
1259struct__XValuatorInfo._fields_ = [
1260    ('_opaque_struct', c_int)
1261]
1262
1263XValuatorInfoPtr = POINTER(struct__XValuatorInfo) 	# /usr/include/X11/extensions/XInput.h:5622
1264class struct__XValuatorInfo(Structure):
1265    __slots__ = [
1266        'class',
1267        'length',
1268        'num_axes',
1269        'mode',
1270        'motion_buffer',
1271        'axes',
1272    ]
1273struct__XValuatorInfo._fields_ = [
1274    ('class', XID),
1275    ('length', c_int),
1276    ('num_axes', c_ubyte),
1277    ('mode', c_ubyte),
1278    ('motion_buffer', c_ulong),
1279    ('axes', XAxisInfoPtr),
1280]
1281
1282XValuatorInfo = struct__XValuatorInfo 	# /usr/include/X11/extensions/XInput.h:5636
1283class struct_anon_132(Structure):
1284    __slots__ = [
1285        'input_class',
1286        'event_type_base',
1287    ]
1288struct_anon_132._fields_ = [
1289    ('input_class', c_ubyte),
1290    ('event_type_base', c_ubyte),
1291]
1292
1293XInputClassInfo = struct_anon_132 	# /usr/include/X11/extensions/XInput.h:5653
1294class struct_anon_133(Structure):
1295    __slots__ = [
1296        'device_id',
1297        'num_classes',
1298        'classes',
1299    ]
1300struct_anon_133._fields_ = [
1301    ('device_id', XID),
1302    ('num_classes', c_int),
1303    ('classes', POINTER(XInputClassInfo)),
1304]
1305
1306XDevice = struct_anon_133 	# /usr/include/X11/extensions/XInput.h:5659
1307class struct_anon_134(Structure):
1308    __slots__ = [
1309        'event_type',
1310        'device',
1311    ]
1312struct_anon_134._fields_ = [
1313    ('event_type', XEventClass),
1314    ('device', XID),
1315]
1316
1317XEventList = struct_anon_134 	# /usr/include/X11/extensions/XInput.h:5672
1318class struct_anon_135(Structure):
1319    __slots__ = [
1320        'time',
1321        'data',
1322    ]
1323struct_anon_135._fields_ = [
1324    ('time', Time),
1325    ('data', POINTER(c_int)),
1326]
1327
1328XDeviceTimeCoord = struct_anon_135 	# /usr/include/X11/extensions/XInput.h:5685
1329class struct_anon_136(Structure):
1330    __slots__ = [
1331        'device_id',
1332        'num_classes',
1333        'data',
1334    ]
1335struct_anon_136._fields_ = [
1336    ('device_id', XID),
1337    ('num_classes', c_int),
1338    ('data', POINTER(XInputClass)),
1339]
1340
1341XDeviceState = struct_anon_136 	# /usr/include/X11/extensions/XInput.h:5699
1342class struct_anon_137(Structure):
1343    __slots__ = [
1344        'class',
1345        'length',
1346        'num_valuators',
1347        'mode',
1348        'valuators',
1349    ]
1350struct_anon_137._fields_ = [
1351    ('class', c_ubyte),
1352    ('length', c_ubyte),
1353    ('num_valuators', c_ubyte),
1354    ('mode', c_ubyte),
1355    ('valuators', POINTER(c_int)),
1356]
1357
1358XValuatorState = struct_anon_137 	# /usr/include/X11/extensions/XInput.h:5722
1359class struct_anon_138(Structure):
1360    __slots__ = [
1361        'class',
1362        'length',
1363        'num_keys',
1364        'keys',
1365    ]
1366struct_anon_138._fields_ = [
1367    ('class', c_ubyte),
1368    ('length', c_ubyte),
1369    ('num_keys', c_short),
1370    ('keys', c_char * 32),
1371]
1372
1373XKeyState = struct_anon_138 	# /usr/include/X11/extensions/XInput.h:5733
1374class struct_anon_139(Structure):
1375    __slots__ = [
1376        'class',
1377        'length',
1378        'num_buttons',
1379        'buttons',
1380    ]
1381struct_anon_139._fields_ = [
1382    ('class', c_ubyte),
1383    ('length', c_ubyte),
1384    ('num_buttons', c_short),
1385    ('buttons', c_char * 32),
1386]
1387
1388XButtonState = struct_anon_139 	# /usr/include/X11/extensions/XInput.h:5744
1389# /usr/include/X11/extensions/XInput.h:5754
1390XChangeKeyboardDevice = _lib.XChangeKeyboardDevice
1391XChangeKeyboardDevice.restype = c_int
1392XChangeKeyboardDevice.argtypes = [POINTER(Display), POINTER(XDevice)]
1393
1394# /usr/include/X11/extensions/XInput.h:5759
1395XChangePointerDevice = _lib.XChangePointerDevice
1396XChangePointerDevice.restype = c_int
1397XChangePointerDevice.argtypes = [POINTER(Display), POINTER(XDevice), c_int, c_int]
1398
1399# /usr/include/X11/extensions/XInput.h:5766
1400XGrabDevice = _lib.XGrabDevice
1401XGrabDevice.restype = c_int
1402XGrabDevice.argtypes = [POINTER(Display), POINTER(XDevice), Window, c_int, c_int, POINTER(XEventClass), c_int, c_int, Time]
1403
1404# /usr/include/X11/extensions/XInput.h:5778
1405XUngrabDevice = _lib.XUngrabDevice
1406XUngrabDevice.restype = c_int
1407XUngrabDevice.argtypes = [POINTER(Display), POINTER(XDevice), Time]
1408
1409# /usr/include/X11/extensions/XInput.h:5784
1410XGrabDeviceKey = _lib.XGrabDeviceKey
1411XGrabDeviceKey.restype = c_int
1412XGrabDeviceKey.argtypes = [POINTER(Display), POINTER(XDevice), c_uint, c_uint, POINTER(XDevice), Window, c_int, c_uint, POINTER(XEventClass), c_int, c_int]
1413
1414# /usr/include/X11/extensions/XInput.h:5798
1415XUngrabDeviceKey = _lib.XUngrabDeviceKey
1416XUngrabDeviceKey.restype = c_int
1417XUngrabDeviceKey.argtypes = [POINTER(Display), POINTER(XDevice), c_uint, c_uint, POINTER(XDevice), Window]
1418
1419# /usr/include/X11/extensions/XInput.h:5807
1420XGrabDeviceButton = _lib.XGrabDeviceButton
1421XGrabDeviceButton.restype = c_int
1422XGrabDeviceButton.argtypes = [POINTER(Display), POINTER(XDevice), c_uint, c_uint, POINTER(XDevice), Window, c_int, c_uint, POINTER(XEventClass), c_int, c_int]
1423
1424# /usr/include/X11/extensions/XInput.h:5821
1425XUngrabDeviceButton = _lib.XUngrabDeviceButton
1426XUngrabDeviceButton.restype = c_int
1427XUngrabDeviceButton.argtypes = [POINTER(Display), POINTER(XDevice), c_uint, c_uint, POINTER(XDevice), Window]
1428
1429# /usr/include/X11/extensions/XInput.h:5830
1430XAllowDeviceEvents = _lib.XAllowDeviceEvents
1431XAllowDeviceEvents.restype = c_int
1432XAllowDeviceEvents.argtypes = [POINTER(Display), POINTER(XDevice), c_int, Time]
1433
1434# /usr/include/X11/extensions/XInput.h:5837
1435XGetDeviceFocus = _lib.XGetDeviceFocus
1436XGetDeviceFocus.restype = c_int
1437XGetDeviceFocus.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(Window), POINTER(c_int), POINTER(Time)]
1438
1439# /usr/include/X11/extensions/XInput.h:5845
1440XSetDeviceFocus = _lib.XSetDeviceFocus
1441XSetDeviceFocus.restype = c_int
1442XSetDeviceFocus.argtypes = [POINTER(Display), POINTER(XDevice), Window, c_int, Time]
1443
1444# /usr/include/X11/extensions/XInput.h:5853
1445XGetFeedbackControl = _lib.XGetFeedbackControl
1446XGetFeedbackControl.restype = POINTER(XFeedbackState)
1447XGetFeedbackControl.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(c_int)]
1448
1449# /usr/include/X11/extensions/XInput.h:5859
1450XFreeFeedbackList = _lib.XFreeFeedbackList
1451XFreeFeedbackList.restype = None
1452XFreeFeedbackList.argtypes = [POINTER(XFeedbackState)]
1453
1454# /usr/include/X11/extensions/XInput.h:5863
1455XChangeFeedbackControl = _lib.XChangeFeedbackControl
1456XChangeFeedbackControl.restype = c_int
1457XChangeFeedbackControl.argtypes = [POINTER(Display), POINTER(XDevice), c_ulong, POINTER(XFeedbackControl)]
1458
1459# /usr/include/X11/extensions/XInput.h:5870
1460XDeviceBell = _lib.XDeviceBell
1461XDeviceBell.restype = c_int
1462XDeviceBell.argtypes = [POINTER(Display), POINTER(XDevice), XID, XID, c_int]
1463
1464KeyCode = pyglet.libs.x11.xlib.KeyCode
1465# /usr/include/X11/extensions/XInput.h:5878
1466XGetDeviceKeyMapping = _lib.XGetDeviceKeyMapping
1467XGetDeviceKeyMapping.restype = POINTER(KeySym)
1468XGetDeviceKeyMapping.argtypes = [POINTER(Display), POINTER(XDevice), KeyCode, c_int, POINTER(c_int)]
1469
1470# /usr/include/X11/extensions/XInput.h:5890
1471XChangeDeviceKeyMapping = _lib.XChangeDeviceKeyMapping
1472XChangeDeviceKeyMapping.restype = c_int
1473XChangeDeviceKeyMapping.argtypes = [POINTER(Display), POINTER(XDevice), c_int, c_int, POINTER(KeySym), c_int]
1474
1475XModifierKeymap = pyglet.libs.x11.xlib.XModifierKeymap
1476# /usr/include/X11/extensions/XInput.h:5899
1477XGetDeviceModifierMapping = _lib.XGetDeviceModifierMapping
1478XGetDeviceModifierMapping.restype = POINTER(XModifierKeymap)
1479XGetDeviceModifierMapping.argtypes = [POINTER(Display), POINTER(XDevice)]
1480
1481# /usr/include/X11/extensions/XInput.h:5904
1482XSetDeviceModifierMapping = _lib.XSetDeviceModifierMapping
1483XSetDeviceModifierMapping.restype = c_int
1484XSetDeviceModifierMapping.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(XModifierKeymap)]
1485
1486# /usr/include/X11/extensions/XInput.h:5910
1487XSetDeviceButtonMapping = _lib.XSetDeviceButtonMapping
1488XSetDeviceButtonMapping.restype = c_int
1489XSetDeviceButtonMapping.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(c_ubyte), c_int]
1490
1491# /usr/include/X11/extensions/XInput.h:5917
1492XGetDeviceButtonMapping = _lib.XGetDeviceButtonMapping
1493XGetDeviceButtonMapping.restype = c_int
1494XGetDeviceButtonMapping.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(c_ubyte), c_uint]
1495
1496# /usr/include/X11/extensions/XInput.h:5924
1497XQueryDeviceState = _lib.XQueryDeviceState
1498XQueryDeviceState.restype = POINTER(XDeviceState)
1499XQueryDeviceState.argtypes = [POINTER(Display), POINTER(XDevice)]
1500
1501# /usr/include/X11/extensions/XInput.h:5929
1502XFreeDeviceState = _lib.XFreeDeviceState
1503XFreeDeviceState.restype = None
1504XFreeDeviceState.argtypes = [POINTER(XDeviceState)]
1505
1506# /usr/include/X11/extensions/XInput.h:5933
1507XGetExtensionVersion = _lib.XGetExtensionVersion
1508XGetExtensionVersion.restype = POINTER(XExtensionVersion)
1509XGetExtensionVersion.argtypes = [POINTER(Display), c_char_p]
1510
1511# /usr/include/X11/extensions/XInput.h:5938
1512XListInputDevices = _lib.XListInputDevices
1513XListInputDevices.restype = POINTER(XDeviceInfo)
1514XListInputDevices.argtypes = [POINTER(Display), POINTER(c_int)]
1515
1516# /usr/include/X11/extensions/XInput.h
1517XListDeviceProperties = _lib.XListDeviceProperties
1518XListDeviceProperties.restype = POINTER(Atom)
1519XListDeviceProperties.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(c_int)]
1520
1521# /usr/include/X11/extensions/XInput.h
1522XGetDeviceProperty = _lib.XGetDeviceProperty
1523XGetDeviceProperty.restype = c_int
1524XGetDeviceProperty.argtypes = [POINTER(Display), POINTER(XDevice), Atom, c_long, c_long, c_bool, Atom, POINTER(Atom), POINTER(c_int), POINTER(c_ulong), POINTER(c_ulong), POINTER(c_char_p)]
1525
1526# /usr/include/X11/extensions/XInput.h:5943
1527XFreeDeviceList = _lib.XFreeDeviceList
1528XFreeDeviceList.restype = None
1529XFreeDeviceList.argtypes = [POINTER(XDeviceInfo)]
1530
1531# /usr/include/X11/extensions/XInput.h:5947
1532XOpenDevice = _lib.XOpenDevice
1533XOpenDevice.restype = POINTER(XDevice)
1534XOpenDevice.argtypes = [POINTER(Display), XID]
1535
1536# /usr/include/X11/extensions/XInput.h:5952
1537XCloseDevice = _lib.XCloseDevice
1538XCloseDevice.restype = c_int
1539XCloseDevice.argtypes = [POINTER(Display), POINTER(XDevice)]
1540
1541# /usr/include/X11/extensions/XInput.h:5957
1542XSetDeviceMode = _lib.XSetDeviceMode
1543XSetDeviceMode.restype = c_int
1544XSetDeviceMode.argtypes = [POINTER(Display), POINTER(XDevice), c_int]
1545
1546# /usr/include/X11/extensions/XInput.h:5963
1547XSetDeviceValuators = _lib.XSetDeviceValuators
1548XSetDeviceValuators.restype = c_int
1549XSetDeviceValuators.argtypes = [POINTER(Display), POINTER(XDevice), POINTER(c_int), c_int, c_int]
1550
1551# /usr/include/X11/extensions/XInput.h:5971
1552XGetDeviceControl = _lib.XGetDeviceControl
1553XGetDeviceControl.restype = POINTER(XDeviceControl)
1554XGetDeviceControl.argtypes = [POINTER(Display), POINTER(XDevice), c_int]
1555
1556# /usr/include/X11/extensions/XInput.h:5977
1557XChangeDeviceControl = _lib.XChangeDeviceControl
1558XChangeDeviceControl.restype = c_int
1559XChangeDeviceControl.argtypes = [POINTER(Display), POINTER(XDevice), c_int, POINTER(XDeviceControl)]
1560
1561# /usr/include/X11/extensions/XInput.h:5984
1562XSelectExtensionEvent = _lib.XSelectExtensionEvent
1563XSelectExtensionEvent.restype = c_int
1564XSelectExtensionEvent.argtypes = [POINTER(Display), Window, POINTER(XEventClass), c_int]
1565
1566# /usr/include/X11/extensions/XInput.h:5991
1567XGetSelectedExtensionEvents = _lib.XGetSelectedExtensionEvents
1568XGetSelectedExtensionEvents.restype = c_int
1569XGetSelectedExtensionEvents.argtypes = [POINTER(Display), Window, POINTER(c_int), POINTER(POINTER(XEventClass)), POINTER(c_int), POINTER(POINTER(XEventClass))]
1570
1571# /usr/include/X11/extensions/XInput.h:6000
1572XChangeDeviceDontPropagateList = _lib.XChangeDeviceDontPropagateList
1573XChangeDeviceDontPropagateList.restype = c_int
1574XChangeDeviceDontPropagateList.argtypes = [POINTER(Display), Window, c_int, POINTER(XEventClass), c_int]
1575
1576# /usr/include/X11/extensions/XInput.h:6008
1577XGetDeviceDontPropagateList = _lib.XGetDeviceDontPropagateList
1578XGetDeviceDontPropagateList.restype = POINTER(XEventClass)
1579XGetDeviceDontPropagateList.argtypes = [POINTER(Display), Window, POINTER(c_int)]
1580
1581XEvent = pyglet.libs.x11.xlib.XEvent
1582# /usr/include/X11/extensions/XInput.h:6014
1583XSendExtensionEvent = _lib.XSendExtensionEvent
1584XSendExtensionEvent.restype = c_int
1585XSendExtensionEvent.argtypes = [POINTER(Display), POINTER(XDevice), Window, c_int, c_int, POINTER(XEventClass), POINTER(XEvent)]
1586
1587# /usr/include/X11/extensions/XInput.h:6024
1588XGetDeviceMotionEvents = _lib.XGetDeviceMotionEvents
1589XGetDeviceMotionEvents.restype = POINTER(XDeviceTimeCoord)
1590XGetDeviceMotionEvents.argtypes = [POINTER(Display), POINTER(XDevice), Time, Time, POINTER(c_int), POINTER(c_int), POINTER(c_int)]
1591
1592# /usr/include/X11/extensions/XInput.h:6034
1593XFreeDeviceMotionEvents = _lib.XFreeDeviceMotionEvents
1594XFreeDeviceMotionEvents.restype = None
1595XFreeDeviceMotionEvents.argtypes = [POINTER(XDeviceTimeCoord)]
1596
1597# /usr/include/X11/extensions/XInput.h:6038
1598XFreeDeviceControl = _lib.XFreeDeviceControl
1599XFreeDeviceControl.restype = None
1600XFreeDeviceControl.argtypes = [POINTER(XDeviceControl)]
1601
1602
1603__all__ = ['sz_xGetExtensionVersionReq', 'sz_xGetExtensionVersionReply',
1604'sz_xListInputDevicesReq', 'sz_xListInputDevicesReply', 'sz_xOpenDeviceReq',
1605'sz_xOpenDeviceReply', 'sz_xCloseDeviceReq', 'sz_xSetDeviceModeReq',
1606'sz_xSetDeviceModeReply', 'sz_xSelectExtensionEventReq',
1607'sz_xGetSelectedExtensionEventsReq', 'sz_xGetSelectedExtensionEventsReply',
1608'sz_xChangeDeviceDontPropagateListReq', 'sz_xGetDeviceDontPropagateListReq',
1609'sz_xGetDeviceDontPropagateListReply', 'sz_xGetDeviceMotionEventsReq',
1610'sz_xGetDeviceMotionEventsReply', 'sz_xChangeKeyboardDeviceReq',
1611'sz_xChangeKeyboardDeviceReply', 'sz_xChangePointerDeviceReq',
1612'sz_xChangePointerDeviceReply', 'sz_xGrabDeviceReq', 'sz_xGrabDeviceReply',
1613'sz_xUngrabDeviceReq', 'sz_xGrabDeviceKeyReq', 'sz_xGrabDeviceKeyReply',
1614'sz_xUngrabDeviceKeyReq', 'sz_xGrabDeviceButtonReq',
1615'sz_xGrabDeviceButtonReply', 'sz_xUngrabDeviceButtonReq',
1616'sz_xAllowDeviceEventsReq', 'sz_xGetDeviceFocusReq',
1617'sz_xGetDeviceFocusReply', 'sz_xSetDeviceFocusReq',
1618'sz_xGetFeedbackControlReq', 'sz_xGetFeedbackControlReply',
1619'sz_xChangeFeedbackControlReq', 'sz_xGetDeviceKeyMappingReq',
1620'sz_xGetDeviceKeyMappingReply', 'sz_xChangeDeviceKeyMappingReq',
1621'sz_xGetDeviceModifierMappingReq', 'sz_xSetDeviceModifierMappingReq',
1622'sz_xSetDeviceModifierMappingReply', 'sz_xGetDeviceButtonMappingReq',
1623'sz_xGetDeviceButtonMappingReply', 'sz_xSetDeviceButtonMappingReq',
1624'sz_xSetDeviceButtonMappingReply', 'sz_xQueryDeviceStateReq',
1625'sz_xQueryDeviceStateReply', 'sz_xSendExtensionEventReq', 'sz_xDeviceBellReq',
1626'sz_xSetDeviceValuatorsReq', 'sz_xSetDeviceValuatorsReply',
1627'sz_xGetDeviceControlReq', 'sz_xGetDeviceControlReply',
1628'sz_xChangeDeviceControlReq', 'sz_xChangeDeviceControlReply', 'Dont_Check',
1629'XInput_Initial_Release', 'XInput_Add_XDeviceBell',
1630'XInput_Add_XSetDeviceValuators', 'XInput_Add_XChangeDeviceControl',
1631'XInput_Add_DevicePresenceNotify', 'XI_Absent', 'XI_Present',
1632'XI_Initial_Release_Major', 'XI_Initial_Release_Minor',
1633'XI_Add_XDeviceBell_Major', 'XI_Add_XDeviceBell_Minor',
1634'XI_Add_XSetDeviceValuators_Major', 'XI_Add_XSetDeviceValuators_Minor',
1635'XI_Add_XChangeDeviceControl_Major', 'XI_Add_XChangeDeviceControl_Minor',
1636'XI_Add_DevicePresenceNotify_Major', 'XI_Add_DevicePresenceNotify_Minor',
1637'DEVICE_RESOLUTION', 'DEVICE_ABS_CALIB', 'DEVICE_CORE', 'DEVICE_ENABLE',
1638'DEVICE_ABS_AREA', 'NoSuchExtension', 'COUNT', 'CREATE', 'NewPointer',
1639'NewKeyboard', 'XPOINTER', 'XKEYBOARD', 'UseXKeyboard', 'IsXPointer',
1640'IsXKeyboard', 'IsXExtensionDevice', 'IsXExtensionKeyboard',
1641'IsXExtensionPointer', 'AsyncThisDevice', 'SyncThisDevice',
1642'ReplayThisDevice', 'AsyncOtherDevices', 'AsyncAll', 'SyncAll',
1643'FollowKeyboard', 'RevertToFollowKeyboard', 'DvAccelNum', 'DvAccelDenom',
1644'DvThreshold', 'DvKeyClickPercent', 'DvPercent', 'DvPitch', 'DvDuration',
1645'DvLed', 'DvLedMode', 'DvKey', 'DvAutoRepeatMode', 'DvString', 'DvInteger',
1646'DeviceMode', 'Relative', 'Absolute', 'ProximityState', 'InProximity',
1647'OutOfProximity', 'AddToList', 'DeleteFromList', 'KeyClass', 'ButtonClass',
1648'ValuatorClass', 'FeedbackClass', 'ProximityClass', 'FocusClass',
1649'OtherClass', 'KbdFeedbackClass', 'PtrFeedbackClass', 'StringFeedbackClass',
1650'IntegerFeedbackClass', 'LedFeedbackClass', 'BellFeedbackClass',
1651'_devicePointerMotionHint', '_deviceButton1Motion', '_deviceButton2Motion',
1652'_deviceButton3Motion', '_deviceButton4Motion', '_deviceButton5Motion',
1653'_deviceButtonMotion', '_deviceButtonGrab', '_deviceOwnerGrabButton',
1654'_noExtensionEvent', '_devicePresence', 'DeviceAdded', 'DeviceRemoved',
1655'DeviceEnabled', 'DeviceDisabled', 'DeviceUnrecoverable', 'XI_BadDevice',
1656'XI_BadEvent', 'XI_BadMode', 'XI_DeviceBusy', 'XI_BadClass', 'XEventClass',
1657'XExtensionVersion', '_deviceKeyPress', '_deviceKeyRelease',
1658'_deviceButtonPress', '_deviceButtonRelease', '_deviceMotionNotify',
1659'_deviceFocusIn', '_deviceFocusOut', '_proximityIn', '_proximityOut',
1660'_deviceStateNotify', '_deviceMappingNotify', '_changeDeviceNotify',
1661'XDeviceKeyEvent', 'XDeviceKeyPressedEvent', 'XDeviceKeyReleasedEvent',
1662'XDeviceButtonEvent', 'XDeviceButtonPressedEvent',
1663'XDeviceButtonReleasedEvent', 'XDeviceMotionEvent', 'XDeviceFocusChangeEvent',
1664'XDeviceFocusInEvent', 'XDeviceFocusOutEvent', 'XProximityNotifyEvent',
1665'XProximityInEvent', 'XProximityOutEvent', 'XInputClass',
1666'XDeviceStateNotifyEvent', 'XValuatorStatus', 'XKeyStatus', 'XButtonStatus',
1667'XDeviceMappingEvent', 'XChangeDeviceNotifyEvent',
1668'XDevicePresenceNotifyEvent', 'XFeedbackState', 'XKbdFeedbackState',
1669'XPtrFeedbackState', 'XIntegerFeedbackState', 'XStringFeedbackState',
1670'XBellFeedbackState', 'XLedFeedbackState', 'XFeedbackControl',
1671'XPtrFeedbackControl', 'XKbdFeedbackControl', 'XStringFeedbackControl',
1672'XIntegerFeedbackControl', 'XBellFeedbackControl', 'XLedFeedbackControl',
1673'XDeviceControl', 'XDeviceResolutionControl', 'XDeviceResolutionState',
1674'XDeviceAbsCalibControl', 'XDeviceAbsCalibState', 'XDeviceAbsAreaControl',
1675'XDeviceAbsAreaState', 'XDeviceCoreControl', 'XDeviceCoreState',
1676'XDeviceEnableControl', 'XDeviceEnableState', 'XAnyClassPtr', 'XAnyClassInfo',
1677'XDeviceInfoPtr', 'XDeviceInfo', 'XKeyInfoPtr', 'XKeyInfo', 'XButtonInfoPtr',
1678'XButtonInfo', 'XAxisInfoPtr', 'XAxisInfo', 'XValuatorInfoPtr',
1679'XValuatorInfo', 'XInputClassInfo', 'XDevice', 'XEventList',
1680'XDeviceTimeCoord', 'XDeviceState', 'XValuatorState', 'XKeyState',
1681'XButtonState', 'XChangeKeyboardDevice', 'XChangePointerDevice',
1682'XGrabDevice', 'XUngrabDevice', 'XGrabDeviceKey', 'XUngrabDeviceKey',
1683'XGrabDeviceButton', 'XUngrabDeviceButton', 'XAllowDeviceEvents',
1684'XGetDeviceFocus', 'XSetDeviceFocus', 'XGetFeedbackControl',
1685'XFreeFeedbackList', 'XChangeFeedbackControl', 'XDeviceBell',
1686'XGetDeviceKeyMapping', 'XChangeDeviceKeyMapping',
1687'XGetDeviceModifierMapping', 'XSetDeviceModifierMapping',
1688'XSetDeviceButtonMapping', 'XGetDeviceButtonMapping', 'XQueryDeviceState',
1689'XFreeDeviceState', 'XGetExtensionVersion', 'XListInputDevices',
1690'XListDeviceProperties', 'XGetDeviceProperty', 'XFreeDeviceList',
1691'XOpenDevice', 'XCloseDevice', 'XSetDeviceMode',
1692'XSetDeviceValuators', 'XGetDeviceControl', 'XChangeDeviceControl',
1693'XSelectExtensionEvent', 'XGetSelectedExtensionEvents',
1694'XChangeDeviceDontPropagateList', 'XGetDeviceDontPropagateList',
1695'XSendExtensionEvent', 'XGetDeviceMotionEvents', 'XFreeDeviceMotionEvents',
1696'XFreeDeviceControl']
1697