Commit graph

72 commits

Author SHA1 Message Date
Peter Hutterer
b762dad06c Add #define IREQUESTS 45. Specifies the number of requests in XI. 2008-04-25 10:34:01 +09:30
Peter Hutterer
83fe5a31cb Add deviceid to QueryDevicePointer reply.
Doesn't hurt, we have padding left over anyway.
2008-03-04 18:10:00 +10:30
Peter Hutterer
52e366d845 Squash opcode range for MPX XI requests.
This removes the opcode holes that were left by the excessive request removal
of the last weeks.
2008-02-25 16:51:31 +10:30
Peter Hutterer
66ba434bc5 Remove GetPairedPointer, paired device can be found through ListInputDevices. 2008-02-25 16:45:16 +10:30
Peter Hutterer
1f37b09c99 Remove "ungrab" from ExtendedGrabDevice request, remove XUngrabExtDevice().
That's what UngrabDevice is for, it does the same anyway.
2008-02-25 16:29:38 +10:30
Peter Hutterer
1f6d53f553 Add WindowAccessAllowAll constant.
Not surprisingly the inverse of DenyAll.
2008-02-18 17:21:37 +10:30
Peter Hutterer
b512f47795 Change XChangeDeviceHieararchy API.
Single-pointer to changes is enough since we have a union now.
Provide array first, then number of elements. This at least gives us
consistency within the MPX-related stuff. The rest of Xlib can't seem to make
its mind up about that.
2008-02-14 19:00:32 +10:30
Peter Hutterer
330cfbd0ca Make XAnyDeviceHierarchyChangeInfo a union of the possible types.
Kinda the same as the XEvent union.

Some whitespace fixes too.
2008-02-14 16:33:03 +10:30
Peter Hutterer
d5245e8b85 Whitespace fixing and sz_RegisterPairedClient removal. 2008-02-14 09:17:34 +10:30
Peter Hutterer
3c24865ad9 Remove GrabAccessControl and FakeDeviceData.
Both aren't thought out enough to justify their inclusion in the first version
of MPX.
2008-02-14 09:15:11 +10:30
Peter Hutterer
6a91ee1bd1 Remove RawDeviceEvent - for now anyway.
Wasn't quite as thought-out as it should be. Throwing it out for now, to get
the rest of MPX more stable.
2008-02-12 19:20:10 +10:30
Peter Hutterer
1d097c2626 Remove pairingChangedNotify event.
I swear I already removed that before... Anyway, we don't need it anymore,
since pairings can't be changed anyway. Hooray for the device hierarchy.
2008-02-12 19:17:51 +10:30
Peter Hutterer
be9e285258 Remove "shared" field from QueryDevicePointer.
If it's a slave device, it's shared, if it's a master device it has its own
cursor. No need for this field.
2008-02-12 15:04:24 +10:30
Peter Hutterer
bd20f0ebd5 Add a device id to XiSelectEvent. 2008-01-25 10:57:53 +10:30
Peter Hutterer
640a97d321 Move deviceid in XDeviceCrossingEvent up to follow window.
This makes XDeviceCrossingEvents in line with the other events who have the
same initial ordering of things.
2007-12-18 15:47:01 +10:30
Peter Hutterer
92f083437f Remove RegisterPairingClient, deprecated with the device hierarchy now. 2007-11-13 17:22:21 +10:30
Peter Hutterer
14e6e7bad0 Add DeviceClassesChangedEvent. 2007-11-13 11:29:06 +10:30
Peter Hutterer
685a2dd327 Add DeviceHierarchyChangedEvent.
Uses same event type as the now removed PointerKeyboardPairingChangedNotify.

(removing the RandomStringEvent too, should have been gone a while ago)
2007-11-08 17:30:20 +10:30
Peter Hutterer
6037b37a5b Add XChangeDeviceHierarchy and its components. 2007-10-19 10:22:51 +09:30
Peter Hutterer
52e2f24b3a Create new XAttachInfo class for attachment info (slave devices).
Thanks to XLibs design we can't just change XDeviceInfo without breaking the
ABI. So here's a new class that isn't actually a class on the wire.
2007-10-18 12:23:34 +09:30
Peter Hutterer
3c5555544e Add XI version 2 defines. 2007-10-18 10:39:40 +09:30
Peter Hutterer
6a0ffc2f46 xDeviceInfo: add "attached" field (replace previous padding).
If use is set to IsXExtensionPointer/Keyboard/Devices, attached indicates the
device ID of the master device it is attached to. If the device is floating,
attached is set to IsFloating.
2007-10-17 12:38:38 +09:30
Paulo Ricardo Zanoni
0e9f8468ba Change some calls to use XID* instead of char* for device id lists. 2007-07-10 10:16:06 +09:30
Peter Hutterer
5e4ff6bf45 Move deviceid around in deviceEnterNotify, make room for detail field. 2007-05-17 20:19:29 +09:30
Peter Hutterer
3d16414084 Add event_type to RawDeviceEvent to store matching core event type. 2007-05-17 20:19:02 +09:30
Peter Hutterer
42a6b9b643 Add ExtendedGrabRequest and the matching reply. 2007-05-14 18:03:53 +09:30
Peter Hutterer
ccbe2e6312 Add xFakeDeviceDataReq 2007-05-02 18:19:11 +09:30
Peter Hutterer
b12514254c Providing a device id for a RawDeviceEvent may not be a bad idea. 2007-05-02 09:43:48 +09:30
Peter Hutterer
ce7bbfb7e0 Add XGE support and event types for RawDeviceEvent and PairingChanged event. 2007-05-01 22:31:09 +09:30
Peter Hutterer
02c50062d3 Merge branch 'master' into mpx 2007-04-27 14:43:43 +09:30
Peter Hutterer
310a93f8e1 bump to 1.4.2 2007-04-26 11:06:18 +09:30
Peter Hutterer
c9bed7d475 Add flags to be used for DevicePrensence's devchange field. 2007-04-24 22:53:27 +09:30
Peter Hutterer
f0baffd3a0 Merge branch 'master' into mpx 2007-04-02 16:42:46 +09:30
Peter Hutterer
a928365b91 Change XSetClientPointer API to use an XDevice instead of deviceid. 2007-03-22 21:14:11 +10:30
Peter Hutterer
4ed9be75a5 add GetClientPointer request and reply.
add GetPairedPointer request and reply.
move declaration of _XiGetDevicePresenceNotifyEvent out of the macro and wrap
it between extern "C". Otherwise C++ code won't be able to find it.
2007-03-22 17:27:32 +10:30
Peter Hutterer
9dd8dcfa7e add SetClientPointer request.
fix typos and wrong names for access function declarations.
2007-03-09 15:51:07 +10:30
Peter Hutterer
de6f3fcaff add access control requests.
fix wrong field lengths for RegisterPairing request and reply.
2007-02-22 20:03:36 +10:30
Peter Hutterer
bb5c144c53 add xRegisterPairingClient request and reply 2007-02-21 10:03:24 +10:30
Daniel Stone
c608d82c6b bump to 1.4.1 2007-02-15 16:33:07 +02:00
Peter Hutterer
157a7984f1 add missing XWarpDevicePointer declaration 2007-02-09 11:37:54 +10:30
Peter Hutterer
025e4cdde8 Merge branch 'master' 2007-02-08 10:55:55 +10:30
Peter Hutterer
328cd827e8 add flags field to deviceEnterNotify struct
add same_screen, focus to XDeviceCrossingEvent struct
2007-02-08 10:54:34 +10:30
Peter Hutterer
4ab02ccbda add ChangePointerKeyboardPairing request
add pairingChangedNotify event
2007-01-29 18:18:56 +10:30
Peter Hutterer
b50c442402 add deviceEnterNotify event, DeviceEnterNotify, DeviceLeaveNotify support
add MPX Major/Minor version numbers
2007-01-10 14:53:01 +10:30
Peter Hutterer
ad2edb61ff Fix typo in DevicePresence() macro 2007-01-09 13:32:39 +10:30
Peter Hutterer
3b84ea85ac add ChangeDeviceCursor request 2007-01-08 12:33:41 +10:30
Peter Hutterer
cc055ae804 add QueryDevicePointer request + reply
add WarpDevicePointer request
2006-12-20 13:36:06 +10:30
Daniel Stone
a0be30da79 DeviceAbs{Area,Calib}: properly align 32-bit types
Decorate CARD32s and INT32s with B32.
2006-10-22 16:40:11 +03:00
Daniel Stone
b1b3dbfd9b DevicePresenceNotify: add deviceid field, with explanation
Add deviceid field, and an explanation of same in XInput.h.
deviceid is only used if a specific device changed, and control
is non-zero if a specific control on that device changed.
2006-10-22 16:30:56 +03:00
Zephaniah E. Hull
06ffd1e6b6 DEVICE_TOUCHPAD -> DEVICE_ABS_CALIB.
As it's really calibration for absolute devices, add some stuff.

DEVICE_ABS_AREA

Defines the area of the screen that an absolute device covers if it is sending
core events.
2006-10-21 12:04:00 +03:00