inputproto: Changes to 'multitouch-devel'
Chase Douglas
cndougla at kemper.freedesktop.org
Tue Sep 13 12:42:50 PDT 2011
XI2.h | 17 +++-
XI2proto.h | 18 ++++
specs/XI2proto.txt | 212 ++++++++++++++++++++++++++++++++++++++++++-----------
3 files changed, 200 insertions(+), 47 deletions(-)
New commits:
commit 24e7dac91fb919c1668736f6e4309ae522a96d86
Author: Chase Douglas <chase.douglas at canonical.com>
Date: Tue Sep 13 14:27:13 2011 -0500
Switch multitouch additions to XI 2.2
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
commit b95adf9b14ff5ba2142e8521f02728dc6d903409
Merge: d6dcfd4039ede37e9c858ab6e890fdb9582a5a9d 9cfdeedd16e96c0e67e70537e97a8f8dd0358244
Author: Chase Douglas <chase.douglas at canonical.com>
Date: Tue Sep 13 14:20:31 2011 -0500
Merge remote-tracking branch 'inputproto/master' into multitouch-devel
Conflicts:
XI2.h
XI2proto.h
specs/XI2proto.txt
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
commit 9cfdeedd16e96c0e67e70537e97a8f8dd0358244
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu Jun 2 16:09:23 2011 +1000
inputproto 2.0.99.1 (first snapshot of 2.1)
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
commit 7d5a303cd8976a7eac1b96897c70d5d25c57ecf1
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Aug 15 12:33:04 2011 +1000
Move scroll information into a new class.
Using labels only to mark smooth scrolling axes disallows scrolling from
hardware events (e.g. a mouse wheel). If those axes are marked as scrolling
axes instead, the clients lose information which hardware axis this event
corresponds to.
For example, on Wacom devices, the client can benefit from smooth scrolling
on the strip or wheel event but may still require the knowledge whether the
axis is a vertical strip (e.g. Intuos3) or a absolute scrolling wheel (e.g.
Intuos4).
Thus, add a new class to XIQueryDevice that represents scrolling information
on a valuator. One of these ScrollClass may exist for each ValuatorClass if
that valuator is a scrolling valuator. The increment field of this class
removes the requirement for 1.0 == 1 unit of scrolling.
This isn't true in most cases, especially where physical scroll axes are
involved. Wacom Intuos4 scroll rings have a unit size of 3.0 and the driver
historically sent one scroll event per 3.0 increment or decrement. Mapping
one scroll event to 1.0 makes the ring mostly unusable through legacy
button events.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 186aa20619d1720bde49fd92d2834c8f9eadf49b
Author: Daniel Stone <daniel at fooishbar.org>
Date: Wed Feb 23 17:37:29 2011 +0000
Document smooth-scrolling support
Two new axes are added to support smooth scrolling: Rel Vert Scroll and
Rel Horiz Scroll. Cumulative values of 1.0 with either magnitude on
these axes are considered to be equivalent to one legacy ButtonPress
event on the scroll buttons.
Signed-off-by: Daniel Stone <daniel at fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 53b58e679f977550301130794c8cb19391ecceb7
Author: Daniel Stone <daniel at fooishbar.org>
Date: Tue Feb 15 14:27:53 2011 +0000
Add XIPointerEmulated for emulated events
The XIPointerEmulated flag on pointer events means that the event was
emulated from a smooth-scroll or touch event to support legacy events,
and the client may ignore this if it is listening to the other events.
Signed-off-by: Daniel Stone <daniel at fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
commit af1fb609beece899188469a81ac9d8c5e07bfa4a
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Fri Jul 29 10:09:02 2011 +1000
Add sourceid to RawEvents (#34420)
RawEvents in XI2 do not provide the source ID. The libXi headers however do
and it is currently always 0. Given that the sourceid may be useful for
some clients, send it down the wire.
This has no effect on the wire size of the struct, we can re-use a pad byte
here.
X.Org Bug 34420 <http://bugs.freedesktop.org/show_bug.cgi?id=34420>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
commit 1e63d01d041108db6fe5be32d033e80419a6ab05
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Tue Apr 12 13:07:53 2011 +1000
XI2.1: send RawEvents at all times.
When a client grabbed a device, XI 2.0 only sends RawEvents to that client.
This behaviour is problematic and cannot be worked around for many
applications that need to continue receiving events.
On the other hand, no client seems to rely on this behaviour or use it to
its advantage. For XI 2.1, disable this behaviour and continue to send raw
events regardless of the grab state of the device.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Acked-by: Chase Douglas <chase.douglas at canonical.com>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit b35f20b7bd9620710a7a6b63e39758fe83b4dec8
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Fri Apr 8 13:26:27 2011 +1000
Announce 2.1 availability through the XI_2_Major and XI_2_Minor defines
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 47a2cc250398648732ba2086ca6ecb21e7dabdc0
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Fri Apr 8 12:59:17 2011 +1000
Bump to 2.0.99
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 94b21b47b51c2c66aa0372dfc323d6aedf12b549
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Tue Aug 23 15:28:50 2011 +1000
specs: fix two typos in XI2proto.txt
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 9f33733fffddd166c64f0bfd293c3de385cf4411
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed Aug 17 16:02:39 2011 +1000
specs: ValuatorClass includes a mode
Documented in the description, but missing in the definition.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
More information about the xorg-commit
mailing list