1 | #ifndef DYLIBLOAD_WRAPPER_XINPUT2 |
2 | #define DYLIBLOAD_WRAPPER_XINPUT2 |
3 | // This file is generated. Do not edit! |
4 | // see https://github.com/hpvb/dynload-wrapper for details |
5 | // generated by generate-wrapper.py 0.3 on 2023-01-23 15:12:16 |
6 | // flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/X11/extensions/XInput2.h --sys-include "thirdparty/linuxbsd_headers/X11/extensions/XInput2.h" --soname libXi.so.6 --init-name xinput2 --output-header ./platform/linuxbsd/x11/dynwrappers/xinput2-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xinput2-so_wrap.c |
7 | // |
8 | // NOTE: Generated from Xi 1.7.10. |
9 | // This has been handpatched to workaround some issues with the generator that |
10 | // will be eventually fixed. In this case, non-existent symbols inherited from |
11 | // libX11, liXext and libXfixes, but absent in libXi.so.6, were removed. |
12 | #include <stdint.h> |
13 | |
14 | #define XIQueryPointer XIQueryPointer_dylibloader_orig_xinput2 |
15 | #define XIWarpPointer XIWarpPointer_dylibloader_orig_xinput2 |
16 | #define XIDefineCursor XIDefineCursor_dylibloader_orig_xinput2 |
17 | #define XIUndefineCursor XIUndefineCursor_dylibloader_orig_xinput2 |
18 | #define XIChangeHierarchy XIChangeHierarchy_dylibloader_orig_xinput2 |
19 | #define XISetClientPointer XISetClientPointer_dylibloader_orig_xinput2 |
20 | #define XIGetClientPointer XIGetClientPointer_dylibloader_orig_xinput2 |
21 | #define XISelectEvents XISelectEvents_dylibloader_orig_xinput2 |
22 | #define XIGetSelectedEvents XIGetSelectedEvents_dylibloader_orig_xinput2 |
23 | #define XIQueryVersion XIQueryVersion_dylibloader_orig_xinput2 |
24 | #define XIQueryDevice XIQueryDevice_dylibloader_orig_xinput2 |
25 | #define XISetFocus XISetFocus_dylibloader_orig_xinput2 |
26 | #define XIGetFocus XIGetFocus_dylibloader_orig_xinput2 |
27 | #define XIGrabDevice XIGrabDevice_dylibloader_orig_xinput2 |
28 | #define XIUngrabDevice XIUngrabDevice_dylibloader_orig_xinput2 |
29 | #define XIAllowEvents XIAllowEvents_dylibloader_orig_xinput2 |
30 | #define XIAllowTouchEvents XIAllowTouchEvents_dylibloader_orig_xinput2 |
31 | #define XIGrabButton XIGrabButton_dylibloader_orig_xinput2 |
32 | #define XIGrabKeycode XIGrabKeycode_dylibloader_orig_xinput2 |
33 | #define XIGrabEnter XIGrabEnter_dylibloader_orig_xinput2 |
34 | #define XIGrabFocusIn XIGrabFocusIn_dylibloader_orig_xinput2 |
35 | #define XIGrabTouchBegin XIGrabTouchBegin_dylibloader_orig_xinput2 |
36 | #define XIUngrabButton XIUngrabButton_dylibloader_orig_xinput2 |
37 | #define XIUngrabKeycode XIUngrabKeycode_dylibloader_orig_xinput2 |
38 | #define XIUngrabEnter XIUngrabEnter_dylibloader_orig_xinput2 |
39 | #define XIUngrabFocusIn XIUngrabFocusIn_dylibloader_orig_xinput2 |
40 | #define XIUngrabTouchBegin XIUngrabTouchBegin_dylibloader_orig_xinput2 |
41 | #define XIListProperties XIListProperties_dylibloader_orig_xinput2 |
42 | #define XIChangeProperty XIChangeProperty_dylibloader_orig_xinput2 |
43 | #define XIDeleteProperty XIDeleteProperty_dylibloader_orig_xinput2 |
44 | #define XIGetProperty XIGetProperty_dylibloader_orig_xinput2 |
45 | #define XIBarrierReleasePointers XIBarrierReleasePointers_dylibloader_orig_xinput2 |
46 | #define XIBarrierReleasePointer XIBarrierReleasePointer_dylibloader_orig_xinput2 |
47 | #define XIFreeDeviceInfo XIFreeDeviceInfo_dylibloader_orig_xinput2 |
48 | #include "thirdparty/linuxbsd_headers/X11/extensions/XInput2.h" |
49 | #undef XIQueryPointer |
50 | #undef XIWarpPointer |
51 | #undef XIDefineCursor |
52 | #undef XIUndefineCursor |
53 | #undef XIChangeHierarchy |
54 | #undef XISetClientPointer |
55 | #undef XIGetClientPointer |
56 | #undef XISelectEvents |
57 | #undef XIGetSelectedEvents |
58 | #undef XIQueryVersion |
59 | #undef XIQueryDevice |
60 | #undef XISetFocus |
61 | #undef XIGetFocus |
62 | #undef XIGrabDevice |
63 | #undef XIUngrabDevice |
64 | #undef XIAllowEvents |
65 | #undef XIAllowTouchEvents |
66 | #undef XIGrabButton |
67 | #undef XIGrabKeycode |
68 | #undef XIGrabEnter |
69 | #undef XIGrabFocusIn |
70 | #undef XIGrabTouchBegin |
71 | #undef XIUngrabButton |
72 | #undef XIUngrabKeycode |
73 | #undef XIUngrabEnter |
74 | #undef XIUngrabFocusIn |
75 | #undef XIUngrabTouchBegin |
76 | #undef XIListProperties |
77 | #undef XIChangeProperty |
78 | #undef XIDeleteProperty |
79 | #undef XIGetProperty |
80 | #undef XIBarrierReleasePointers |
81 | #undef XIBarrierReleasePointer |
82 | #undef XIFreeDeviceInfo |
83 | #ifdef __cplusplus |
84 | extern "C" { |
85 | #endif |
86 | #define XIQueryPointer XIQueryPointer_dylibloader_wrapper_xinput2 |
87 | #define XIWarpPointer XIWarpPointer_dylibloader_wrapper_xinput2 |
88 | #define XIDefineCursor XIDefineCursor_dylibloader_wrapper_xinput2 |
89 | #define XIUndefineCursor XIUndefineCursor_dylibloader_wrapper_xinput2 |
90 | #define XIChangeHierarchy XIChangeHierarchy_dylibloader_wrapper_xinput2 |
91 | #define XISetClientPointer XISetClientPointer_dylibloader_wrapper_xinput2 |
92 | #define XIGetClientPointer XIGetClientPointer_dylibloader_wrapper_xinput2 |
93 | #define XISelectEvents XISelectEvents_dylibloader_wrapper_xinput2 |
94 | #define XIGetSelectedEvents XIGetSelectedEvents_dylibloader_wrapper_xinput2 |
95 | #define XIQueryVersion XIQueryVersion_dylibloader_wrapper_xinput2 |
96 | #define XIQueryDevice XIQueryDevice_dylibloader_wrapper_xinput2 |
97 | #define XISetFocus XISetFocus_dylibloader_wrapper_xinput2 |
98 | #define XIGetFocus XIGetFocus_dylibloader_wrapper_xinput2 |
99 | #define XIGrabDevice XIGrabDevice_dylibloader_wrapper_xinput2 |
100 | #define XIUngrabDevice XIUngrabDevice_dylibloader_wrapper_xinput2 |
101 | #define XIAllowEvents XIAllowEvents_dylibloader_wrapper_xinput2 |
102 | #define XIAllowTouchEvents XIAllowTouchEvents_dylibloader_wrapper_xinput2 |
103 | #define XIGrabButton XIGrabButton_dylibloader_wrapper_xinput2 |
104 | #define XIGrabKeycode XIGrabKeycode_dylibloader_wrapper_xinput2 |
105 | #define XIGrabEnter XIGrabEnter_dylibloader_wrapper_xinput2 |
106 | #define XIGrabFocusIn XIGrabFocusIn_dylibloader_wrapper_xinput2 |
107 | #define XIGrabTouchBegin XIGrabTouchBegin_dylibloader_wrapper_xinput2 |
108 | #define XIUngrabButton XIUngrabButton_dylibloader_wrapper_xinput2 |
109 | #define XIUngrabKeycode XIUngrabKeycode_dylibloader_wrapper_xinput2 |
110 | #define XIUngrabEnter XIUngrabEnter_dylibloader_wrapper_xinput2 |
111 | #define XIUngrabFocusIn XIUngrabFocusIn_dylibloader_wrapper_xinput2 |
112 | #define XIUngrabTouchBegin XIUngrabTouchBegin_dylibloader_wrapper_xinput2 |
113 | #define XIListProperties XIListProperties_dylibloader_wrapper_xinput2 |
114 | #define XIChangeProperty XIChangeProperty_dylibloader_wrapper_xinput2 |
115 | #define XIDeleteProperty XIDeleteProperty_dylibloader_wrapper_xinput2 |
116 | #define XIGetProperty XIGetProperty_dylibloader_wrapper_xinput2 |
117 | #define XIBarrierReleasePointers XIBarrierReleasePointers_dylibloader_wrapper_xinput2 |
118 | #define XIBarrierReleasePointer XIBarrierReleasePointer_dylibloader_wrapper_xinput2 |
119 | #define XIFreeDeviceInfo XIFreeDeviceInfo_dylibloader_wrapper_xinput2 |
120 | extern int (*XIQueryPointer_dylibloader_wrapper_xinput2)( Display*, int, Window, Window*, Window*, double*, double*, double*, double*, XIButtonState*, XIModifierState*, XIGroupState*); |
121 | extern int (*XIWarpPointer_dylibloader_wrapper_xinput2)( Display*, int, Window, Window, double, double, unsigned int, unsigned int, double, double); |
122 | extern int (*XIDefineCursor_dylibloader_wrapper_xinput2)( Display*, int, Window, Cursor); |
123 | extern int (*XIUndefineCursor_dylibloader_wrapper_xinput2)( Display*, int, Window); |
124 | extern int (*XIChangeHierarchy_dylibloader_wrapper_xinput2)( Display*, XIAnyHierarchyChangeInfo*, int); |
125 | extern int (*XISetClientPointer_dylibloader_wrapper_xinput2)( Display*, Window, int); |
126 | extern int (*XIGetClientPointer_dylibloader_wrapper_xinput2)( Display*, Window, int*); |
127 | extern int (*XISelectEvents_dylibloader_wrapper_xinput2)( Display*, Window, XIEventMask*, int); |
128 | extern XIEventMask* (*XIGetSelectedEvents_dylibloader_wrapper_xinput2)( Display*, Window, int*); |
129 | extern int (*XIQueryVersion_dylibloader_wrapper_xinput2)( Display*, int*, int*); |
130 | extern XIDeviceInfo* (*XIQueryDevice_dylibloader_wrapper_xinput2)( Display*, int, int*); |
131 | extern int (*XISetFocus_dylibloader_wrapper_xinput2)( Display*, int, Window, Time); |
132 | extern int (*XIGetFocus_dylibloader_wrapper_xinput2)( Display*, int, Window*); |
133 | extern int (*XIGrabDevice_dylibloader_wrapper_xinput2)( Display*, int, Window, Time, Cursor, int, int, int, XIEventMask*); |
134 | extern int (*XIUngrabDevice_dylibloader_wrapper_xinput2)( Display*, int, Time); |
135 | extern int (*XIAllowEvents_dylibloader_wrapper_xinput2)( Display*, int, int, Time); |
136 | extern int (*XIAllowTouchEvents_dylibloader_wrapper_xinput2)( Display*, int, unsigned int, Window, int); |
137 | extern int (*XIGrabButton_dylibloader_wrapper_xinput2)( Display*, int, int, Window, Cursor, int, int, int, XIEventMask*, int, XIGrabModifiers*); |
138 | extern int (*XIGrabKeycode_dylibloader_wrapper_xinput2)( Display*, int, int, Window, int, int, int, XIEventMask*, int, XIGrabModifiers*); |
139 | extern int (*XIGrabEnter_dylibloader_wrapper_xinput2)( Display*, int, Window, Cursor, int, int, int, XIEventMask*, int, XIGrabModifiers*); |
140 | extern int (*XIGrabFocusIn_dylibloader_wrapper_xinput2)( Display*, int, Window, int, int, int, XIEventMask*, int, XIGrabModifiers*); |
141 | extern int (*XIGrabTouchBegin_dylibloader_wrapper_xinput2)( Display*, int, Window, int, XIEventMask*, int, XIGrabModifiers*); |
142 | extern int (*XIUngrabButton_dylibloader_wrapper_xinput2)( Display*, int, int, Window, int, XIGrabModifiers*); |
143 | extern int (*XIUngrabKeycode_dylibloader_wrapper_xinput2)( Display*, int, int, Window, int, XIGrabModifiers*); |
144 | extern int (*XIUngrabEnter_dylibloader_wrapper_xinput2)( Display*, int, Window, int, XIGrabModifiers*); |
145 | extern int (*XIUngrabFocusIn_dylibloader_wrapper_xinput2)( Display*, int, Window, int, XIGrabModifiers*); |
146 | extern int (*XIUngrabTouchBegin_dylibloader_wrapper_xinput2)( Display*, int, Window, int, XIGrabModifiers*); |
147 | extern Atom* (*XIListProperties_dylibloader_wrapper_xinput2)( Display*, int, int*); |
148 | extern void (*XIChangeProperty_dylibloader_wrapper_xinput2)( Display*, int, Atom, Atom, int, int, unsigned char*, int); |
149 | extern void (*XIDeleteProperty_dylibloader_wrapper_xinput2)( Display*, int, Atom); |
150 | extern int (*XIGetProperty_dylibloader_wrapper_xinput2)( Display*, int, Atom, long, long, int, Atom, Atom*, int*, unsigned long*, unsigned long*, unsigned char**); |
151 | extern void (*XIBarrierReleasePointers_dylibloader_wrapper_xinput2)( Display*, XIBarrierReleasePointerInfo*, int); |
152 | extern void (*XIBarrierReleasePointer_dylibloader_wrapper_xinput2)( Display*, int, PointerBarrier, BarrierEventID); |
153 | extern void (*XIFreeDeviceInfo_dylibloader_wrapper_xinput2)( XIDeviceInfo*); |
154 | int initialize_xinput2(int verbose); |
155 | #ifdef __cplusplus |
156 | } |
157 | #endif |
158 | #endif |
159 | |