XInput.h | XInput.h | |||
---|---|---|---|---|
skipping to change at line 161 | skipping to change at line 161 | |||
{ _class = ((XDevice *) d)->device_id << 8 | _deviceButtonGrab;} | { _class = ((XDevice *) d)->device_id << 8 | _deviceButtonGrab;} | |||
#define NoExtensionEvent(d,type,_class) \ | #define NoExtensionEvent(d,type,_class) \ | |||
{ _class = ((XDevice *) d)->device_id << 8 | _noExtensionEvent;} | { _class = ((XDevice *) d)->device_id << 8 | _noExtensionEvent;} | |||
/* We need the declaration for DevicePresence. */ | /* We need the declaration for DevicePresence. */ | |||
#if defined(__cplusplus) || defined(c_plusplus) | #if defined(__cplusplus) || defined(c_plusplus) | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
extern int _XiGetDevicePresenceNotifyEvent(Display *); | extern int _XiGetDevicePresenceNotifyEvent(Display *); | |||
extern void _xibaddevice( Display *dpy, int *error); | ||||
extern void _xibadclass( Display *dpy, int *error); | ||||
extern void _xibadevent( Display *dpy, int *error); | ||||
extern void _xibadmode( Display *dpy, int *error); | ||||
extern void _xidevicebusy( Display *dpy, int *error); | ||||
#if defined(__cplusplus) || defined(c_plusplus) | #if defined(__cplusplus) || defined(c_plusplus) | |||
} | } | |||
#endif | #endif | |||
#define DevicePresence(dpy, type, _class) \ | #define DevicePresence(dpy, type, _class) \ | |||
{ \ | { \ | |||
type = _XiGetDevicePresenceNotifyEvent(dpy); \ | type = _XiGetDevicePresenceNotifyEvent(dpy); \ | |||
_class = (0x10000 | _devicePresence); \ | _class = (0x10000 | _devicePresence); \ | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||