diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-12-14 17:04:17 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-12-14 17:04:17 +0100 |
| commit | 2a33cf4e609a8fa1418d2f8f03b271cc0e40080f (patch) | |
| tree | 52a6d3d1eb78dcc3d17ba3fbbee6a27c6346c7d4 /src/libtools/my_x11_defs.h | |
| parent | 6698a844f60752285372e091ad7912c6074a2c41 (diff) | |
| download | box64-2a33cf4e609a8fa1418d2f8f03b271cc0e40080f.tar.gz box64-2a33cf4e609a8fa1418d2f8f03b271cc0e40080f.zip | |
[BOX32][WRAPPER] Many fixes and improvments to X11 wrapping
Diffstat (limited to 'src/libtools/my_x11_defs.h')
| -rw-r--r-- | src/libtools/my_x11_defs.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libtools/my_x11_defs.h b/src/libtools/my_x11_defs.h index 5626b2af..889a47ec 100644 --- a/src/libtools/my_x11_defs.h +++ b/src/libtools/my_x11_defs.h @@ -1400,6 +1400,30 @@ typedef struct my_XAnyClassinfo_s { int length; } my_XAnyClassInfo_t; +typedef struct my_XKeyInfo_s +{ + XID c_class; + int length; + unsigned short min_keycode; + unsigned short max_keycode; + unsigned short num_keys; +} my_XKeyInfo_t; +typedef struct my_XButtonInfo_s +{ + XID c_class; + int length; + short num_buttons; +} my_XButtonInfo_t; +typedef struct my_XValuatorInfo_s +{ + XID c_class; + int length; + unsigned char num_axes; + unsigned char mode; + unsigned long motion_buffer; + void* axes; //XAxisInfoPtr +} my_XValuatorInfo_t; + typedef struct my_XDeviceInfo_s { XID id; |