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