On 01/05/2011 10:33 PM, Peter Hutterer wrote:
On Wed, Jan 05, 2011 at 03:27:06PM -0500, Chase Douglas wrote:
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
This kills backwards compatibility with X Input ABI 12
thanks! we need some extra configure
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/draglock.c |5 -
src/emuMB.c|4 -
src/emuWheel.c |4 -
src/evdev.c| 446 +---
src/evdev.h| 25 +---
5 files changed, 12 insertions(+), 472 deletions
This will be necessary for the addition of multitouch functionality.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/evdev.c | 24 +++-
1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 2bab6fe..2596f87 100644
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/emuWheel.c |5 +-
src/evdev.c| 187 +++
src/evdev.h|6 +-
3 files changed
On 01/23/2011 03:16 PM, Cyril Brulebois wrote:
Hi Daniel,
Daniel Stone dan...@fooishbar.org (19/01/2011):
--- a/dix/getevents.c
+++ b/dix/getevents.c
[…]
+int
+GetTouchEvents(EventList *events, DeviceIntPtr pDev, TouchPointInfoPtr ti,
+ uint16_t type, uint32_t flags, const
On 01/23/2011 06:38 PM, Cyril Brulebois wrote:
Daniel Stone dan...@fooishbar.org (19/01/2011):
From: Chase Douglas chase.doug...@canonical.com
This multitouch addition only supports slotted MT evdev protocol
devices. Support must be enabled at configure time using
--enable-multitouch
On 01/23/2011 06:59 PM, Cyril Brulebois wrote:
Cyril Brulebois k...@debian.org (24/01/2011):
Need to check the xi minor version in the server as well:
| evdev.c: In function ‘EvdevPostQueuedEvents’:
| evdev.c:862: warning: implicit declaration of function ‘xf86PostTouchEvent’
| evdev.c:862:
On 01/23/2011 07:09 PM, Cyril Brulebois wrote:
Daniel Stone dan...@fooishbar.org (19/01/2011):
+#ifdef MULTITOUCH
+free(pEvdev-mtMask);
+pEvdev-mtMask = NULL;
+for (i = 0; i EVDEV_MAXQUEUE; i++)
+free(pEvdev-queue[i].touchMask);
+pEvdev-queue[i].touchMask =
On 01/23/2011 07:24 PM, Peter Hutterer wrote:
On Sat, Jan 22, 2011 at 04:40:50PM -0500, Chase Douglas wrote:
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
please, please always state what
On 01/23/2011 10:42 PM, Peter Hutterer wrote:
On Sat, Jan 22, 2011 at 04:40:48PM -0500, Chase Douglas wrote:
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/draglock.c |5 -
src/emuMB.c|4 -
src/emuWheel.c |4 -
src/evdev.c| 446
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Changes from v3:
- Fix a dumb copy/paste error preventing relative mode devices from working
(See EvdevProcessValuators where one line change
Should be squashed into big xi2.1 patch.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Xi/exevents.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Xi/exevents.c b/Xi/exevents.c
index fbe5912..96689e4 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
On 01/25/2011 04:58 AM, Daniel Stone wrote:
On Tue, Jan 25, 2011 at 11:35:37AM +1000, Peter Hutterer wrote:
On Mon, Jan 24, 2011 at 12:25:25PM -0500, Chase Douglas wrote:
We currently have a mechanism for clients selecting for unowned events
to receive motion and finish events (through
On 01/30/2011 10:54 PM, Peter Hutterer wrote:
We don't modify value, make it official.
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net
Reviewed-by: Chase Douglas chase.doug...@canonical.com
---
Xi/xiproperty.c|2 +-
include/exevents.h |2 +-
2 files changed, 2
On 01/25/2011 12:11 PM, Chase Douglas wrote:
On 01/25/2011 04:58 AM, Daniel Stone wrote:
On Tue, Jan 25, 2011 at 11:35:37AM +1000, Peter Hutterer wrote:
On Mon, Jan 24, 2011 at 12:25:25PM -0500, Chase Douglas wrote:
We currently have a mechanism for clients selecting for unowned events
On 02/08/2011 05:53 AM, Daniel Stone wrote:
Hi,
Attached is the diff between the last multitouch spec posted to the
list, and what I've just pushed to my p.fd.o repository. This takes in
a lot of stuff I discussed with Peter during LCA, including:
Pointer emulation: We'd hoped it'd be
the array of touches. It also memsets the new touches.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Xi/exevents.c | 34 ++
dix/devices.c |9 ++---
dix/inpututils.c | 17 +
include/inputstr.h |1 +
4 files
Also includes resolutions for dependent devices and implicit grabs and
how to handle slave touch device attachment and touch selections.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Diff is against latest patch sent by Daniel Stone. See
http://cgit.freedesktop.org/~cndougla
On 02/22/2011 10:06 AM, Chase Douglas wrote:
Also includes resolutions for dependent devices and implicit grabs and
how to handle slave touch device attachment and touch selections.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Diff is against latest patch sent by Daniel
On 03/02/2011 06:29 AM, Daniel Stone wrote:
Hi,
On Wed, Mar 02, 2011 at 04:34:30PM +1000, Peter Hutterer wrote:
On Tue, Feb 08, 2011 at 10:53:19AM +, Daniel Stone wrote:
--- a/XI2.h
+++ b/XI2.h
@@ -67,6 +67,7 @@
#define XIGrabtypeEnter 2
#define
On 03/02/2011 02:29 AM, Peter Hutterer wrote:
On Tue, Feb 22, 2011 at 10:06:37AM -0500, Chase Douglas wrote:
Also includes resolutions for dependent devices and implicit grabs and
how to handle slave touch device attachment and touch selections.
Signed-off-by: Chase Douglas chase.doug
On 03/02/2011 05:58 AM, Daniel Stone wrote:
On Tue, Feb 22, 2011 at 10:06:37AM -0500, Chase Douglas wrote:
--- a/XI2.h
+++ b/XI2.h
@@ -32,6 +32,7 @@
#define Dont_Check 0
#endif
#define XInput_2_0 7
+#define XInput_2_1
On 03/02/2011 06:34 AM, Daniel Stone wrote:
Hi,
On Wed, Mar 02, 2011 at 10:58:08AM +, Daniel Stone wrote:
On Tue, Feb 22, 2011 at 10:06:37AM -0500, Chase Douglas wrote:
+In order to prevent touch events delivered to one window while pointer
events
+are implicitly grabbed by another
On 03/07/2011 01:28 AM, Peter Hutterer wrote:
On Wed, Mar 02, 2011 at 09:25:40AM -0500, Chase Douglas wrote:
On 03/02/2011 02:29 AM, Peter Hutterer wrote:
On Tue, Feb 22, 2011 at 10:06:37AM -0500, Chase Douglas wrote:
Touch grabs are similar to standard input event grabs in that they take
On 03/08/2011 12:41 AM, Peter Hutterer wrote:
On Wed, Mar 02, 2011 at 11:35:41AM -0500, Chase Douglas wrote:
On 03/02/2011 05:58 AM, Daniel Stone wrote:
On Tue, Feb 22, 2011 at 10:06:37AM -0500, Chase Douglas wrote:
@@ -132,16 +133,16 @@
/* Device event flags (common) */
/* Device event
I'll be sending an update to the protocol soon. I've picked out just a
few comments here to reply to. The rest should be covered by the updated
protocol.
On 03/08/2011 11:59 PM, Peter Hutterer wrote:
On Tue, Mar 08, 2011 at 10:24:42AM -0500, Chase Douglas wrote:
On 03/08/2011 12:41 AM, Peter
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
To see the full protocol spec as I make changes, go to:
http://cgit.freedesktop.org/~cndougla/inputproto
I have taken all the feedback thus far and generated a new patch against the
inputproto. There are a lot of changes, and some
On 03/11/2011 12:15 AM, Peter Hutterer wrote:
On Thu, Mar 10, 2011 at 03:39:18PM -0500, Chase Douglas wrote:
On 03/08/2011 11:59 PM, Peter Hutterer wrote:
On Tue, Mar 08, 2011 at 10:24:42AM -0500, Chase Douglas wrote:
On 03/08/2011 12:41 AM, Peter Hutterer wrote:
On Wed, Mar 02, 2011 at 11:35
them up as we go.
Reviewed-by: Chase Douglas chase.doug...@canonical.com
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
On 03/18/2011 02:23 AM, Peter Hutterer wrote:
On Thu, Mar 10, 2011 at 03:47:41PM -0500, Chase Douglas wrote:
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
To see the full protocol spec as I make changes, go to:
http://cgit.freedesktop.org/~cndougla/inputproto
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c | 16 ++--
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 7834d68..9fce447 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c | 24 +---
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 9fce447..edecf6c 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -358,27 +358,30
On 03/28/2011 03:02 PM, Jamey Sharp wrote:
Hi Chase! I thoroughly sympathize with removing code duplication,
especially once it's gotten complicated like this, but please, no
macro magic...
After trying a bunch of alternatives with GCC 4.4.5 on x86-64 to see
whether it would generate sane
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c | 20 ++--
1 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 7834d68..9192080 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 9192080..3285133 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -364,19 +364,18
(Sorry for the line wrap or any ill formatted text. Thunderbird is buggy and
won't show me messages when I have soo many unread :). I'm having to use Mail
on OS X.)
On Mar 4, 2011, at 1:54 PM, Daniel Kurtz wrote:
Back in October Chase Douglas [1] kicked off a flurry of patches
Relative valuator values should not be reported in any future events. If
a relative valuator value is not set in an internal event, set the value
to 0 for XI 1.x valuator events sent over the wire.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c |4 +++-
1
On 03/30/2011 08:45 PM, Simon Thum wrote:
On 03/29/2011 03:39 AM, Peter Hutterer wrote:
On Mon, Mar 28, 2011 at 04:04:48PM -0400, Chase Douglas wrote:
This allows for masked valuators to be handled properly in XI 1.x
events. Any unset valuators in the device event are set to the last
known
, spurious right clicks and scroll events are triggered.
Fixes: http://bugs.launchpad.net/bugs/742213
This reverts commit ffa6dc2809734a6aaa690e9133d6761480603a68.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Forgot to Cc xorg-devel on the first patch sending.
src/synaptics.c
Fixes LP: #736829 (https://bugs.launchpad.net/bugs/573006)
Re-fixes old X.Org Bug 29645
http://bugs.freedesktop.org/show_bug.cgi?id=29645
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/evdev.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/evdev.c
The current code overwrites *all* the stored axis values with whatever
came in from evdev. Evdev is a stateful protocol, so it only sends us
updates to the axis values that have changed. We need to only update
the values that have changed.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
The following changes since commit 49afcc76a1c799e18931cc762431975c5c059437:
XQuartz: Bump bundle version to 2.6.2 (2011-04-04 09:38:35 -0700)
are available in the git repository at:
git://anongit.freedesktop.org/~cndougla/xserver
server-1.10-masked-valuator-fixes
Chase Douglas (3
think you are
right... If the internal event is converted to XI 1.x after the device
is removed, this could cause a NULL pointer dereference. I'll send
another patch to fix this up.
Thanks,
-- Chase
On Mar 31, 2011, at 08:29, Chase Douglas wrote:
Relative valuator values should not be reported
Set the valuator values for unset masked absolute valuators in the
internal device event. This ensures the values will always be correct in
getValuatorEvents even if the device has been removed.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/eventconvert.c | 14
masked in the events. Core events still don't have
valuators. So I'm hoping this will kill the bug dead once and for all :).
Thanks,
-- Chase
On Apr 6, 2011, at 11:51, Chase Douglas wrote:
Set the valuator values for unset masked absolute valuators in the
internal device event. This ensures
that branch.
Any comments or suggestions?
Similar branches will have to be added to libXi and xserver.
This all sounds good to me :). As for the patches:
Reviewed-by: Chase Douglas chase.doug...@canonical.com
Thanks!
___
xorg-devel@lists.x.org
The following changes since commit 1f51fe4f748b2997e466863d8387bd6791b32931:
Xi: fix querydevice request swapping (2011-04-07 08:36:59 +1000)
are available in the git repository at:
git://people.freedesktop.org/~cndougla/xserver.git
server-1.10-masked-valuator-fixes
Chase Douglas (4
Hi Jeremy,
A regression has been found in 1.10.0.902 due to commit
81fbb96c54f78a7cd96433294ee003c7ef6a772a. Please see this bug for more
details: https://bugs.freedesktop.org/show_bug.cgi?id=36146. This is
causing issues with easystroke.
Thanks,
-- Chase
Otherwise, an event that causes us to go into proximity with some new
valuator values will retain some old valuator values from when last in
proximity. This change ensures that all values posted while out of
proximity are accounted for.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
or Xlib, but it does paper over the
issue for now.
https://bugs.launchpad.net/bugs/754470
http://bugs.freedesktop.org/show_bug.cgi?id=31921
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
I'm offering this up as a work around for whatever real bug exists. It
probably should
On 04/18/2011 12:01 AM, Peter Hutterer wrote:
On Fri, Apr 15, 2011 at 03:29:57PM -0400, Chase Douglas wrote:
If the X server sends an event to the XRecord connection the event
will never be handled. This will cause the event queue to fill up in
Xlib and lead to syndaemon running away at 100
On 04/21/2011 03:35 AM, Peter Hutterer wrote:
Unconditionally drop the valuators back into the mask when they were there
in the first place. Otherwise, sending identical coordinates from the driver
on a translated device causes the valuator mask to be alternatively
overwritten with the
any R-b tag.
I've checked it out here:
http://cgit.freedesktop.org/~daniels/xserver/commit/?h=for-keithid=628c5854e15dbc4c57a01286a721e9fa8cf809e9
You can add:
Reviewed-by: Chase Douglas chase.doug...@canonical.com
Thanks,
-- Chase
___
xorg-devel
On 05/03/2011 03:28 AM, Peter Hutterer wrote:
On Mon, Apr 25, 2011 at 12:58:17PM -0400, Chase Douglas wrote:
On 04/21/2011 03:35 AM, Peter Hutterer wrote:
Unconditionally drop the valuators back into the mask when they were there
in the first place. Otherwise, sending identical coordinates
On 05/20/2011 09:08 AM, Peter Korsgaard wrote:
Hi,
I've recently tested a lumio crystaltouch touchscreen on Linux, and
xf86-input-evdev unfortunately gets confused and handles it as a mouse.
It provides the following events:
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor
On 05/22/2011 04:48 PM, Peter Korsgaard wrote:
Chase == Chase Douglas chase.doug...@canonical.com writes:
Chase This is classic works on android! multitouch support. It's the
Chase reason I wrote documentation for the evdev protocol in the Linux
Chase kernel. The kernel driver needs
-off-by: Chase Douglas chase.doug...@canonical.com
---
Xext/xtest.c | 10 +-
dix/getevents.c| 237 +--
dix/inpututils.c | 33 ++
hw/dmx/input/dmxevents.c | 52 +
hw/kdrive/src/kinput.c
From: Chase Douglas chase.doug...@ubuntu.com
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
Note that this leaves around a lot of cruft that should be removed, but
the code allows for backwards compatibility with X servers 1.10.
Signed-off-by: Chase
On Tue, 2010-10-05 at 15:59 -0700, Jesse Adkins wrote:
+if (type == MotionNotify
+CountBits(mask-mask, mask-len) = 0)
Should be == 0. CountBits doesn't return negative values.
I like to be safe, so I always encode = 0 when I want to check for
positive values. What if CountBits is
input module works around this issue
we can enable it by default.
Credit goes to Tobyn Bertram for reverse engineering the protocol.
Reported-by: Tobyn Bertram
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
drivers/input/mouse/synaptics.c | 78
-off-by: Chase Douglas chase.doug...@canonical.com
---
drivers/input/mouse/synaptics.c | 24 +---
drivers/input/mouse/synaptics.h |1 +
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index
.
Tested on a Dell Mini 1012 with synaptics_multitouch=1 and
synaptics_button_thresh=4100.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
drivers/input/mouse/synaptics.c | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/drivers/input/mouse
On Fri, 2010-10-08 at 18:37 +0200, Takashi Iwai wrote:
At Fri, 8 Oct 2010 10:57:57 -0400,
Chase Douglas wrote:
Tobyn Bertram reverse engineered the multitouch protocol for Synaptics
devices.
I've been able to take his work and produce a series of commits to enable MT
and multifinger
On Thu, 2010-10-14 at 13:31 +1000, Peter Hutterer wrote:
On Tue, Oct 05, 2010 at 04:07:56PM -0400, Chase Douglas wrote:
XI2 allows for input event valuators to be masked. The current input
module API only allows for ranges to be specified. This fixes all
internal plumbing to use masks
.
Remove comment about SwitchCoreKeyboard() for the same reason.
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net
Looks good to me, and I think it would have helped me a little a few
months ago :).
Reviewed-by: Chase Douglas chase.doug...@canonical.com
cause issues except for
values 2^31. I don't think that ever happens :).
Reviewed-by: Chase Douglas chase.doug...@canonical.com
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org
On Wed, 2010-10-20 at 10:45 +1000, Peter Hutterer wrote:
Avoid name collision with the server.
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net
Reviewed-by: Chase Douglas chase.doug...@canonical.com
___
xorg-devel@lists.x.org: X.Org
From: Chase Douglas chase.doug...@ubuntu.com
Commit de8be07cc0a8163b6ef04455706fd5ca2cebe587 adds a requirement to
event to core conversion that at least one of the X or Y valuators are
set in the valuator mask. This commit fixes the event conversion test to
be compliant.
Signed-off-by: Chase
On Fri, 2010-10-22 at 13:05 +1000, Peter Hutterer wrote:
From: Chase Douglas chase.doug...@canonical.com
The XI2 protocol supports per-axis modes, but the server so far does
not. This change adds support in the server.
A complication is the fact that XI1 does not support per-axis modes
.
Reviewed-by: Chase Douglas chase.doug...@canonical.com
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
On Fri, 2010-10-22 at 13:31 +0200, Julien Cristau wrote:
On Thu, Oct 21, 2010 at 22:41:09 -0400, Chase Douglas wrote:
From: Chase Douglas chase.doug...@ubuntu.com
Commit de8be07cc0a8163b6ef04455706fd5ca2cebe587 adds a requirement to
event to core conversion that at least one of the X
From: Chase Douglas chase.doug...@ubuntu.com
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/getevents.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dix/getevents.c b/dix/getevents.c
index 9b5e6df..d2f1025 100644
--- a/dix/getevents.c
+++ b/dix
From: Chase Douglas chase.doug...@ubuntu.com
Input drivers may use valuator masks for internal state. Having all the
valuator_mask_* functions available will help.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
include/input.h |8 +++-
include/inpututils.h |8
From: Daniel Stone dan...@fooishbar.org
Since FixUpEventFromWindow only uses the sprite trace to determine the
window stack, pass in a sprite instead of hardcoding the device sprite,
so we can deliver to windows other than the one currently containing the
sprite.
Signed-off-by: Daniel Stone
From: Daniel Stone dan...@fooishbar.org
XYToWindow calculates the position of the cursor and updates the sprite
trace, but does nothing else with the device. Pass a SpritePtr instead
so we can update an alternate focus instead of hardcoding the device's
sprite.
Signed-off-by: Daniel Stone
From: Chase Douglas chase.doug...@ubuntu.com
---
dix/events.c| 13 +
include/input.h | 13 +
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/dix/events.c b/dix/events.c
index 0f98914..9c56bb5 100644
--- a/dix/events.c
+++ b/dix/events.c
From: Chase Douglas chase.doug...@ubuntu.com
Reorder elements so they can be uniform with the upcoming TouchAxisInfo
elements required for coordinate scaling.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
include/inputstr.h |4 ++--
1 files changed, 2 insertions(+), 2
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
Xi/exevents.c | 107
Xi/extinit.c |3 +
Xi/xiquerydevice.c | 95
Xi/xiquerydevice.h |3 +
Xi
From: Chase Douglas chase.doug...@ubuntu.com
Clients can't select for the three touch events individually, so ensure
the test doesn't try to do so.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
test/xi2/protocol-xiselectevents.c | 48
1
From: Chase Douglas chase.doug...@ubuntu.com
With the X server now supporting masked valuators for XI2, enable
support in X evdev.
Note that this leaves around a lot of cruft that should be removed, but
the code allows for backwards compatibility with X servers 1.10.
Signed-off-by: Chase
From: Chase Douglas chase.doug...@ubuntu.com
This multitouch addition only supports slotted MT evdev protocol
devices. Support must be enabled at configure time using
--enable-multitouch. It is built on the masked valuator support in
XInput ABI 12, so do not attempt to build it for an earlier ABI
From: Chase Douglas chase.doug...@ubuntu.com
MTDev translates all multitouch devices to the slotted evdev protocol.
This provides a clean and uniform interface and reduces message handling
inside the input module and X.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
configure.ac
Add support to libXi for all the Xi 2.1 additions to the spec:
TouchClass, TouchBegin, TouchEnd and TouchMotion, as well as touch grabs.
Based on an initial patch by Daniel Stone.
Signed-off-by: Daniel Stone dan...@fooishbar.org
Signed-off-by: Chase Douglas chase.doug...@canonical.com
From: Chase Douglas chase.doug...@ubuntu.com
This fixes an obvious error in the current print formatting.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/test_xi2.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/test_xi2.c b/src/test_xi2.c
index
From: Chase Douglas chase.doug...@ubuntu.com
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/test_xi2.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/test_xi2.c b/src/test_xi2.c
index fea36a8..30bb0fa 100644
--- a/src/test_xi2.c
+++ b/src/test_xi2
From: Daniel Stone dan...@fooishbar.org
This patch adds experimental support for listening to touch streams
(TouchBegin, TouchMotion and TouchEnd) with test-xi2, as well as showing
TouchClass information with list.
Signed-off-by: Daniel Stone dan...@fooishbar.org
Signed-off-by: Chase Douglas
These three patches fix two bugs with masked valuators and export the
masked valuator helper functions. I have patched evdev to use masked
valuators and found the helper functions to be helpful there as well.
That said, I'm not sure how things should be structured now that
inpututils.h contains
From: Chase Douglas chase.doug...@ubuntu.com
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/getevents.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dix/getevents.c b/dix/getevents.c
index 9b5e6df..d2f1025 100644
--- a/dix/getevents.c
+++ b/dix
From: Chase Douglas chase.doug...@ubuntu.com
transformAbsolute must use old values if valuator mask doesn't have new
ones, and it must only set new values if there was a change.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
dix/getevents.c | 12
1 files changed, 8
From: Chase Douglas chase.doug...@ubuntu.com
Input drivers may use valuator masks for internal state. Having all the
valuator_mask_* functions available will help.
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
include/input.h |8 +++-
include/inpututils.h |8
On 11/12/2010 08:57 PM, Cyril Brulebois wrote:
Hi,
Chase Douglas chase.doug...@canonical.com (12/11/2010):
Introduce multitouch support through a new TouchClass, as well as new
TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1.
Signed-off-by: Daniel Stone dan
On 11/12/2010 10:13 PM, Cyril Brulebois wrote:
Cyril Brulebois k...@debian.org (13/11/2010):
+extern WindowPtr XYToWindow(SpritePtr pSprite, int x, int y);
^^ ^^
Collateral damage?
Apparently, that was intended, since it's used in a later commit
(“Input: Add
On 11/12/2010 09:23 PM, Cyril Brulebois wrote:
Chase Douglas chase.doug...@canonical.com (12/11/2010):
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -49,6 +49,8 @@ SOFTWARE.
#ifndef INPUTSTRUCT_H
#define INPUTSTRUCT_H
+#include X11/extensions/XI2proto.h
+
This one makes
On 11/12/2010 09:33 PM, Cyril Brulebois wrote:
From: Daniel Stone dan...@fooishbar.org
XYToWindow calculates the position of the cursor and updates the sprite
trace, but does nothing else with the device. Pass a SpritePtr instead
so we can update an alternate focus instead of hardcoding the
On 11/15/2010 01:35 PM, Chase Douglas wrote:
On 11/12/2010 08:57 PM, Cyril Brulebois wrote:
Hi,
Chase Douglas chase.doug...@canonical.com (12/11/2010):
Introduce multitouch support through a new TouchClass, as well as new
TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1
On 11/17/2010 12:24 AM, Peter Hutterer wrote:
On Fri, Nov 12, 2010 at 05:35:16PM -0500, Chase Douglas wrote:
From: Chase Douglas chase.doug...@ubuntu.com
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/test_xi2.c |2 +-
1 files changed, 1 insertions(+), 1 deletions
Signed-off-by: Chase Douglas chase.doug...@canonical.com
---
src/test_xi2.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test_xi2.c b/src/test_xi2.c
index fea36a8..5b56397 100644
--- a/src/test_xi2.c
+++ b/src/test_xi2.c
@@ -324,7 +324,7 @@ test_xi2(Display
On 11/17/2010 01:11 AM, Peter Hutterer wrote:
On Fri, Nov 12, 2010 at 05:35:08PM -0500, Chase Douglas wrote:
From: Chase Douglas chase.doug...@ubuntu.com
Reorder elements so they can be uniform with the upcoming TouchAxisInfo
elements required for coordinate scaling.
Signed-off-by: Chase
On 11/17/2010 01:25 AM, Peter Hutterer wrote:
On Fri, Nov 12, 2010 at 05:35:01PM -0500, Chase Douglas wrote:
diff --git a/XI2.h b/XI2.h
index 6ba1377..f3ee7f0 100644
--- a/XI2.h
+++ b/XI2.h
@@ -32,10 +32,12 @@
#define Dont_Check 0
#endif
#define XInput_2_0
-by: Chase Douglas chase.doug...@canonical.com
---
XI2.h| 19 +-
XI2proto.h | 25
XI2proto.txt | 191 +-
configure.ac |2 +-
4 files changed, 231 insertions(+), 6 deletions(-)
diff --git a/XI2.h b/XI2.h
index
1 - 100 of 1069 matches
Mail list logo