summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2009-09-14Declare _xibad* functions before the Bad* macros.Peter Hutterer
Reported-by: Christian Beier Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-24Update XIWarpPointer to take doubles (inputproto >= 1.9.99.902)Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-04Cosmetic fix, move a 'char* name' to 'char *name'Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-22Replace keysym grabs with keycode grabs.Peter Hutterer
Keysym grabs are tricky to get right for applications that are more complicated than demo applications. otoh, we know keycode grabs are working. So let's go with keycode grabs for now and add keysym grabs later when we've sorted out the details. Requires inputproto 1.9.99.15 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Add flags to XIDeviceEvent and XIRawEvent.Daniel Stone
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Cater for new event-specific raw event types.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Reshuffle deviceid + sourceid in XI2 events to allow for common typecasting.Peter Hutterer
Except for two events, all events include a deviceid. Place it at the same position in the struct for these events to allow quick checking with common typecasts. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-13Add the deviceid to XI2 property events.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Remove padding from XIEvent.Peter Hutterer
The padding was originally to force the same size as the XEvent struct. This only works on 32 bit however, the 64-bit XEvent struct is larger. Let's just ignore the padding, there's no point to it anyway, all the Xlib functions require XEvents anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Switch to new XIEvent structures - no need for pointers anymore.Peter Hutterer
This removes all those pointers from event structures that were just there due to the pre-cookie struct size limit. Pointers remaining are only those that are of variable length (e.g. masks and valuator states). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Remove XIFreeEventData - obsolete with cookie events.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12Add effective modifiers/group to events - require inputproto 1.9.99.13Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-08Change floats to doubles in DeviceEvents and EnterEvents.Peter Hutterer
All the other bits use doubles, there's no reason to use floats here.
2009-06-24Add typedefs for focus in/out events.Peter Hutterer
The events themselves are the same as enter/leave events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17Axis and button labels should be called labels, not names.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-16Include the current valuator state in XIQueryDevice.Peter Hutterer
2009-06-16XIButtonClass now includes a XIButtonState struct.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-12Fix a few wrong 'evtype' comments.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-12Add sourceid to device classes.Peter Hutterer
2009-06-09XIHierarchyEvent should list num_info, not num_devices.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Rename XICreateMaster to XIAddMaster for consistency.Peter Hutterer
add/remove is used for slave devices and for flags, so we should use it in XIChangeHierarchy as well. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Remove CamelCase use from XIChangeHierarchy.Peter Hutterer
Everything else uses underscore notation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-09Hierarchy changes should use "deviceid", not device.Peter Hutterer
Every other call/interface uses deviceid, so change for consistency. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Add support for Enter/FocusIn passive grabs.Peter Hutterer
2009-05-25Add XIGetSelectedEvents.Peter Hutterer
2009-05-18XIQueryPointer should return doubles for the FP1616 wire data.Peter Hutterer
2009-05-14Return failed modifiers for passive XI2 grabs.Peter Hutterer
2009-05-14Update XIQueryPointer to include full modifier state.Peter Hutterer
2009-05-14Label major/minor version in XIQueryVersion as _inout.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-14Xinput2.h: nmasks should be num_masks in XISelectEventsPeter Hutterer
2009-05-12Adust to new device names (less "Device" in function names)Peter Hutterer
2009-05-12XISelectEvents, not the singular versionPeter Hutterer
2009-05-12Support per-device flags for XIDeviceHierarchyEventsPeter Hutterer
2009-05-07Add XI2 property requests.Peter Hutterer
Without Xlib's 64-bit hilarity. A property claiming to be 32 bit is treated as 32 bit value.
2009-05-07Add property event conversion.Peter Hutterer
2009-05-07Add XIPassiveGrabDevice.Peter Hutterer
2009-04-19Add missing eventtype to XIRawDeviceEvent.Peter Hutterer
Reported-by: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
2009-04-16Add XIAllowEventsPeter Hutterer
2009-04-16Add XIGrabDevicePeter Hutterer
2009-03-20Add XISetDeviceFocus and XIGetDeviceFocusPeter Hutterer
2009-03-11Add support for XI2 Enter/Leave eventsPeter Hutterer
2009-03-11Add support for Raw events.Peter Hutterer
2009-03-11Add support for XIHierarchyEvent.Peter Hutterer
2009-03-11Add support for XIDeviceChangedEventPeter Hutterer
2009-03-11Add XIFreeEventDataPeter Hutterer
2009-03-11Add support for XIDeviceEvents.Peter Hutterer
2009-03-11Add Generic XIEvent struct.Peter Hutterer
2009-03-11XInput2.h: Get rid of the /* foo */ in the declarations.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-11include: Move events up to before function definitions.Peter Hutterer
2009-03-11Add XIQueryDevice implementation.Peter Hutterer