x11.xlib: add a few things for xinput2
parent
715973905f
commit
e06ba797ca
|
@ -1013,6 +1013,34 @@ STRUCT: XKeymapEvent
|
|||
{ window Window }
|
||||
{ pad int[8] } ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
! Newer things, needed for XInput2 support. Not in the book.
|
||||
|
||||
! GenericEvent is the standard event for all newer extensions.
|
||||
STRUCT: XGenericEvent
|
||||
{ type int }
|
||||
{ serial ulong }
|
||||
{ send_event Bool }
|
||||
{ display Display* }
|
||||
{ extension int }
|
||||
{ evtype int } ;
|
||||
|
||||
STRUCT: XGenericEventCookie
|
||||
{ type int }
|
||||
{ serial ulong }
|
||||
{ send_event Bool }
|
||||
{ display Display* }
|
||||
{ extension int }
|
||||
{ evtype int }
|
||||
{ cookie uint }
|
||||
{ data void* } ;
|
||||
|
||||
X-FUNCTION: Bool XGetEventData ( Display* dpy, XGenericEventCookie* cookie ) ;
|
||||
X-FUNCTION: void XFreeEventData ( Display* dpy, XGenericEventCookie* cookie ) ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
UNION-STRUCT: XEvent
|
||||
{ int int }
|
||||
{ XAnyEvent XAnyEvent }
|
||||
|
@ -1046,6 +1074,8 @@ UNION-STRUCT: XEvent
|
|||
{ XMappingEvent XMappingEvent }
|
||||
{ XErrorEvent XErrorEvent }
|
||||
{ XKeymapEvent XKeymapEvent }
|
||||
{ XGenericEvent XGenericEvent }
|
||||
{ XGenericEventCookie XGenericEventCookie }
|
||||
{ padding long[24] } ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
@ -1218,6 +1248,16 @@ X-FUNCTION: Pixmap XCreateBitmapFromData (
|
|||
uint width,
|
||||
uint height ) ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
! Appendix C - Extensions
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
X-FUNCTION: Bool XQueryExtension (
|
||||
Display* display,
|
||||
c-string name,
|
||||
int* major_opcode_return,
|
||||
int* first_event_return,
|
||||
int* first_error_return ) ;
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
! Appendix D - Compatibility Functions
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
|
Loading…
Reference in New Issue