Peter Hutterer
2166b77ea6
Bump to 1.9.99.5.
2008-09-26 10:11:04 +09:30
Peter Hutterer
93c1ea035b
Remove default properties (XI_PROP_MODE, XI_PROP_ENABLED)
...
These should be defined by the server, not the protocol.
2008-09-26 09:37:48 +09:30
Peter Hutterer
18ef04f8a2
Remove Configure/QueryDeviceProperty.
2008-09-19 09:06:48 +09:30
Peter Hutterer
c9454a8e84
Add XI_JOYSTICK type.
2008-09-19 09:06:48 +09:30
Peter Hutterer
20a0c8433e
Don't include Xmd.h.
2008-09-18 15:00:01 +09:30
Peter Hutterer
3e7b663e7d
inputproto 1.9.99.4
...
Backported device properties.
2008-08-15 15:01:16 +09:30
Peter Hutterer
fabe087ceb
Protect against C++ includes.
2008-08-15 14:50:46 +09:30
Peter Hutterer
c2d47b04c5
Remove RCS tags, typo fix.
2008-08-15 14:24:18 +09:30
Peter Hutterer
7c9620d823
Back out Device Properties from XI 2, push into XI 1.5.
2008-08-15 14:24:15 +09:30
Alan Hourihane
54465c7433
bump to 1.99.9.3
2008-07-29 14:15:04 +01:00
Peter Hutterer
0daf8328cf
Add DeviceControlChanged define.
...
This value is used for the devchange field in the DevicePresenceNotify event
when a device's control has been modified.
2008-07-29 09:08:04 +09:30
Alan Hourihane
0d300ce64c
Bump to 1.9.99.2 for inputproto
2008-07-21 10:33:47 +01:00
Peter Hutterer
fe74239e93
Add #defines for XI_PROP_ENABLED, XI_PROP_MODE
...
These two props are expected to be supported by the server.
2008-07-13 20:49:51 +09:30
Peter Hutterer
5f68665108
Set IEVENTS back to 18, got set to 8 inadvertantly.
2008-07-09 18:28:26 +09:30
Peter Hutterer
bbbe35b351
Add XI device property requests and replies.
...
New requests:
ListDeviceProperties ... list all props of a device
QueryDeviceProperty ... query meta-information about a property
ChangeDeviceProperty ... change the content of a property
DeleteDeviceProperty ... delete a property
GetDeviceProperty ... retrieve a property
New event:
DevicePropertyChangedNotify ... the given property on the device has changed
2008-07-09 12:52:33 +09:30
Peter Hutterer
9f1f3ef7a3
Bump to 1.9.99.1.
2008-05-28 17:13:49 +09:30
Peter Hutterer
834c9ba8b4
Remove a leftover typedef, the code that requires it has since been removed.
...
Was part of the FakeDeviceData request, this request does not exist anymore.
2008-05-12 17:30:30 +09:30
Peter Hutterer
c6df1392e5
Merge branch 'master' into mpx
...
Conflicts:
XI.h
2008-05-12 17:30:15 +09:30
Peter Hutterer
f6e41306f7
Add major/minor version as supported by client to GetExtensionVersionReq.
...
This sort-of breaks old clients. Behaviour to be assumed is that if nbytes is
0, major/minorVersion is set and specifies the version as supported by the
client.
If nbytes is non-zero, the request is trailed by the extension name (INAME)
and major/minorVersion is undefined. This is the behaviour of pre-MPX clients.
And then there may be clients who found that no other extension uses this
request and supplying a name wasn't actually necessary since it was XI anyway.
These clients will break. Tough luck. Read the man pages next time.
2008-04-26 10:54:35 +09:30
Peter Hutterer
746f61a86d
Remove XInput.h. This file is now part of libXi.
...
XInput.h only belongs to libXi and is should not be part of the protocol
headers. For future revisions of this file refer to
git://anongit.freedesktop.org/git/xorg/lib/libXi
2008-04-25 18:09:32 +09:30
Peter Hutterer
b762dad06c
Add #define IREQUESTS 45. Specifies the number of requests in XI.
2008-04-25 10:34:01 +09:30
Adam Jackson
852568991b
Typo fix.
2008-03-10 09:31:51 -04:00
Adam Jackson
b5cbe2d93f
C sucks: define XEventClass in terms of unsigned int, not CARD32.
...
Apparently pulling in Xmd.h here breaks qt, since they both define an
INT32 type (and incompatible ones even, since Xmd's is unsigned long on
ILP32 because whoever wrote Xmd.h is a C novice).
2008-03-10 09:08:21 -04:00
Adam Jackson
3edc1bf23b
inputproto 1.4.3
2008-03-05 22:06:28 -05:00
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
Jesse Barnes
096b20bf54
Use Xmd.h instead of X.h to pull in CARD32 definition
...
On 64 bit hosts, CARD32 may be undefined unless we use Xmd.h to define it for
us. Apparently X.h is no longer sufficient.
2008-01-21 15:28:49 -08:00
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
James Cloos
9359e62578
Replace static ChangeLog with dist-hook to generate from git log
2007-12-06 16:39:02 -05:00
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
Eamon Walsh
4b22047f34
XI.h needs X.h for CARD32 on 64-bit systems.
2007-09-27 12:27:19 -04:00
James Cloos
f033750780
Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/proto/inputproto
2007-09-03 06:17:20 -04:00
James Cloos
369dd283cf
Add *~ to .gitignore to skip patch/emacs droppings
2007-09-03 05:54:06 -04:00