This way the unaccelerated deltas returned by libinput are correct.
To maintain the current behavior we slow down the input speed by the magic
factor and likewise the accelerated output speed. This produces virtually the
same accelerated deltas as the previous code.
The magic factor is applied to
On Mon, Mar 16, 2015 at 02:58:02PM +0100, Hans de Goede wrote:
> Hi,
>
> On 12-03-15 09:23, Peter Hutterer wrote:
> >On Wed, Mar 11, 2015 at 03:20:55PM +0100, Hans de Goede wrote:
> >>Implement touchpad pinch (and rotate) gesture support.
> >>
> >>WIP: TODO: fix testsuite.
> >>
> >>Signed-off-by:
Make the helper function accessible from other places (will be needed in an
upcoming patchset). This also now takes a custom resolution as argument
instead of always setting it to 1, and allows overriding a fake resolution
after the fact.
And instead of a hardcoded 1 everywhere, use a define for t
These devices don't provide ABS_X/Y, but do have proper multitouch.
Signed-off-by: Peter Hutterer
---
src/evdev.c | 20
1 file changed, 20 insertions(+)
diff --git a/src/evdev.c b/src/evdev.c
index c661af9..ea63356 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1396,6 +1396
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad-buttons.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index 3ca37b7..18c32fd 100644
--- a/src/evdev-mt-touchpad-buttons.c
+++ b/src/evdev-mt-touchp
We really don't need to deal with devices that have x but not y or vice versa.
Signed-off-by: Peter Hutterer
---
src/evdev.c | 23 +
test/device.c | 103 ++
2 files changed, 126 insertions(+)
diff --git a/src/evdev.c b/src/e
The struct evdev_device's absinfo_x/y point to the right axis
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index a932287..d0311a4 100644
--- a/src/evd
No functional changes
Signed-off-by: Peter Hutterer
---
src/evdev.c | 100 ++--
1 file changed, 57 insertions(+), 43 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index d9860b1..284aa1f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -
Not all touchpad kernel drivers supply the x/y resolution. Let the udev hwdb
fix this up where possible and read the value from it.
This is intentionally only used on touchpads, touchscreen devices without
resolution should be considered buggy and fixed in the kernel.
Signed-off-by: Peter Huttere
Signed-off-by: Peter Hutterer
---
src/evdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/evdev.c b/src/evdev.c
index 3481b45..570c436 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1490,7 +1490,8 @@ evdev_configure_device(struct evdev_device *device)
on Monday 16 March 2015 20:39:15,Jasper St. Pierre wrote:
> "dumb" clients also include X11 clients for legacy Xwayland compatibility.
> Of which there a lot of.
>
xwayland will not have buffer scale support anyway. besides, qt and gtk on X11
already do well at DPI-independence.
> On Mar 16, 20
"dumb" clients also include X11 clients for legacy Xwayland compatibility.
Of which there a lot of.
On Mar 16, 2015 8:35 PM, "microcai" wrote:
> on Monday 16 March 2015 20:28:48,Daniel Stone wrote:
> > Hi,
> >
> > On 16 March 2015 at 00:35, Jason Ekstrand wrote:
> > > On Tue, Mar 10, 2015 at 12:
on Monday 16 March 2015 20:28:48,Daniel Stone wrote:
> Hi,
>
> On 16 March 2015 at 00:35, Jason Ekstrand wrote:
> > On Tue, Mar 10, 2015 at 12:00 PM, Bill Spitzak wrote:
> >> [blah blah blah]
> >>
> >> Events seem to be ok, but my complaint is that a large number of
> >> coordinates in the api
On Mon, Mar 16, 2015 at 12:40:20PM +0100, Hans de Goede wrote:
> Hi Peter,
>
> On 12-03-15 09:36, Peter Hutterer wrote:
> >
> >libinput has two types of coordinates - device coordinates and coordinates
> >normalized into the 1000 dpi default. we generally use int/double for those
> >two, but it's
On 03/16/2015 01:28 PM, Daniel Stone wrote:
Any talk of throwing away buffer scaling (breaking dumb clients) in
order to fit the uses of clients who already today avoid buffer
scaling, is utterly pointless. Any attempt to handwave away the
disadvantages as nonexistent is disingenuous.
I'm comp
On Wed, Feb 25, 2015 at 01:42:13PM +0100, Jonny Lamb wrote:
> ---
> clients/nested-client.c | 22 ++
> clients/simple-egl.c | 22 ++
> clients/subsurfaces.c | 22 +++---
> clients/window.c | 22 ++
> te
On Wed, Feb 25, 2015 at 01:42:12PM +0100, Jonny Lamb wrote:
> ---
> src/compositor-drm.c | 3 ++-
> src/compositor-fbdev.c | 2 +-
> src/compositor-wayland.c | 1 +
> src/compositor-x11.c | 5 +
> src/gl-renderer.c| 42 +-
> src/gl-
Hi,
On 16 March 2015 at 00:35, Jason Ekstrand wrote:
> On Tue, Mar 10, 2015 at 12:00 PM, Bill Spitzak wrote:
>> [blah blah blah]
>>
>> Events seem to be ok, but my complaint is that a large number of coordinates
>> in the api other than events are in integer logical pixels, not in high dpi
>> or
On Tue, Mar 17, 2015 at 01:31:44AM +0900, Ryo Munakata wrote:
> On Wed, 11 Mar 2015 17:58:00 +
> Philip Withnall wrote:
>
> > On Wed, 2015-03-11 at 16:05 +0200, Pekka Paalanen wrote:
> > > On Tue, 10 Mar 2015 11:34:45 +0900
> > > Ryo Munakata wrote:
> > >
> > > > This was a TODO:
> > > > "I
On Tue, Mar 17, 2015 at 01:26:32AM +0900, Ryo Munakata wrote:
> On Wed, 11 Mar 2015 17:54:42 +
> Philip Withnall wrote:
>
> First, sorry for my late reply.
>
> > On Thu, 2015-03-12 at 00:40 +0900, Ryo Munakata wrote:
> > > On Wed, 11 Mar 2015 16:05:55 +0200
> > > Pekka Paalanen wrote:
> > >
On Wed, 11 Mar 2015 17:58:00 +
Philip Withnall wrote:
> On Wed, 2015-03-11 at 16:05 +0200, Pekka Paalanen wrote:
> > On Tue, 10 Mar 2015 11:34:45 +0900
> > Ryo Munakata wrote:
> >
> > > This was a TODO:
> > > "Ideally, available frame buffers should be enumerated
> > > using udev, rather th
On Wed, 11 Mar 2015 17:54:42 +
Philip Withnall wrote:
First, sorry for my late reply.
> On Thu, 2015-03-12 at 00:40 +0900, Ryo Munakata wrote:
> > On Wed, 11 Mar 2015 16:05:55 +0200
> > Pekka Paalanen wrote:
> >
> > > On Tue, 10 Mar 2015 11:34:45 +0900
> > > Ryo Munakata wrote:
> > >
> >
Hi,
On 12-03-15 09:23, Peter Hutterer wrote:
On Wed, Mar 11, 2015 at 03:20:55PM +0100, Hans de Goede wrote:
Implement touchpad pinch (and rotate) gesture support.
WIP: TODO: fix testsuite.
Signed-off-by: Hans de Goede
looks good, almost all comments are just related to coding style/shuffli
Hi Peter,
On 12-03-15 09:36, Peter Hutterer wrote:
libinput has two types of coordinates - device coordinates and coordinates
normalized into the 1000 dpi default. we generally use int/double for those
two, but it's not always clear or obvious which type of coordinates we're
dealing with. So th
Hi All,
The pinch gesture support I've been working on is "finished", so here is the
first non RFC version of the pinch gesture support series, addressing all the
comments made on the RFC versions.
Regards,
Hans
___
wayland-devel mailing list
wayland-d
Implement touchpad pinch (and rotate) gesture support.
Note that two two-finger scrolling tests are slightly tweaked to assure that
there is enough touch movement to allow the scroll-or-pinch detect code to do
its works.
Signed-off-by: Hans de Goede
---
src/evdev-mt-touchpad-gestures.c | 280 ++
Extend the touchpad gesture API with pinch gestures. Note that this
new API offers a single event stream for both pinch and rotate data, this
is deliberate as some applications may be interested in getting both at
the same time. Applications which are only interested in one or the other
can simply
Hi,
On 12-03-15 23:57, Peter Hutterer wrote:
On Wed, Mar 11, 2015 at 03:20:54PM +0100, Hans de Goede wrote:
Extend the touchpad gesture API with pinch gestures. Note that this
new API offers a single event stream for both pinch and rotate data, this
is deliberate as some applications may be int
28 matches
Mail list logo