Equivalent to the pointer axis function - it gets the mouse wheel clicks from
the tablet mouse.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 5 -
src/libinput-private.h | 3 ++-
src/libinput.c | 32 +++-
src/libinput.h | 22
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 35 +++-
src/evdev-tablet.h | 6
src/libinput.h | 3 +-
test/tablet.c | 95 ++
4 files changed, 130 insertions(+), 9 deletions(-)
diff --git a/src/evdev-tabl
Providing a relative axis in the axis_get_value() is inconsistent with the
other axes, this will be fixed in a follow-up commit.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 56 ++
src/evdev-tablet.h | 18
src/lib
The little wheel isn't a full wheel, it has a ~90 degree rotation angle with a
range of 1024 values. To avoid confusion with "wheel" elsewhere in the API
name it slider.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 9 --
src/evdev-tablet.h | 6
src/libinput-private.h
I keep having to move them around after merging from master and often I'm late
with it too. It's a lot easier to just have to update the dependency in a
single line, and causes less conflicts too.
Signed-off-by: Peter Hutterer
---
src/libinput.sym | 9 ++---
1 file changed, 6 insertions(+),
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 50 +-
1 file changed, 33 insertions(+), 17 deletions(-)
diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
index 2b90e08..52742cf 100644
--- a/src/evdev-tablet.c
+++ b/src/evdev-tablet.c
@@
The tool ID on wacom tablets is what really defines the tool, so one can
differ between say an Intuos Grip Pen, Art Pen or Classic Pen. They're all
BTN_TOOL_PEN in the kernel driver.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 8
src/evdev-tablet.h | 1 +
src/libinp
libwacom can tell us how many buttons we have per stylus, so we map those into
BTN_STYLUS and BTN_STYLUS2.
BTN_TOUCH is set on all styli.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 73 ++
src/libinput-private.h | 1 +
src/libinput.
The serial test was broken, it succeeded even if we never got an event. The
second test was fine, but complicated. Make it use some of the newer litest
features.
Signed-off-by: Peter Hutterer
---
test/tablet.c | 42 --
1 file changed, 16 insertions(+), 26
args needs to be within () to ensure correct calculation
Signed-off-by: Peter Hutterer
---
test/litest.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/litest.h b/test/litest.h
index 4553c87..dd1ad9a 100644
--- a/test/litest.h
+++ b/test/litest.h
@@ -195,22
According to http://wayland.freedesktop.org/releases.html
A typo or did someone get lucky?
:-)
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel
On Mon, Feb 23, 2015 at 09:30:24AM -0500, Lyude wrote:
> Hi! So, unfortunately as I said before I can't test most of these
> patches since I've only got the standard pen on my Intuos pro, none of
> the fact mice and whatnot. I did test what I could though and I found
> one bug: the button capabilit
On Mon, Feb 23, 2015 at 03:10:35PM +0100, sardemff7+wayl...@sardemff7.net wrote:
> On 2015-02-17 16:13, Emil Velikov wrote:
> >Currently we use the wayland-scanner executable as found with
> >AC_PATH_PROG, and then check the presence of wayland-scanner.pc
> >
> >Currently the latter is unused even
On Mon, Feb 23, 2015 at 11:30:57AM -0800, Bill Spitzak wrote:
> Which of the 4 arguments do you use for your use case?
>
> Because this can only return the first match I suspect some of the
> NULL tests are pretty useless, because you have to specify arguments
> that you know will return the one a
On Mon, Feb 23, 2015 at 10:50:48AM +0100, Michal Suchanek wrote:
> Hello,
>
> I heard there is attempt to collect a database of mouse speeds (DPI)
> so all mice behave the same.
yep, look at the hwdb/70-mouse.hwdb file in the systemd repo. it's fairly
easy to add to it.
> What is the semantic of
On 23 February 2015 at 19:20, Bill Spitzak wrote:
> On 02/22/2015 11:52 PM, Pekka Paalanen wrote:
>
>>> I'll give Bill and Daniels a chance to comment, but meanwhile:
>>>
>>> Reviewed-by: Bryce Harrington
>
>
> My only concern is that trying to build Wayland from scratch on a machine
> that does
Very cool, comments below.
On 17/02/15 09:48 AM, Jonny Lamb wrote:
> ---
> src/compositor-drm.c | 14 -
> src/compositor-fbdev.c | 2 +-
> src/compositor-wayland.c | 21 +++--
> src/compositor-x11.c | 14 -
> src/gl-renderer.c| 79
>
Hi,
On 23 February 2015 at 16:36, Jonny Lamb wrote:
> Il 23/02/2015 17:28, Derek Foreman ha scritto:
>> On 23/02/15 10:02 AM, Jonny Lamb wrote:
>>> The intention here is to be able to find an existing wl_global using
>>> some search parameters and then get some information about it.
>>
>> I'm not
Il 23/02/2015 17:28, Derek Foreman ha scritto:
On 23/02/15 10:02 AM, Jonny Lamb wrote:
The intention here is to be able to find an existing wl_global using
some search parameters and then get some information about it.
I'm not sure I see a need for this, but if there is need there should
also
On 23/02/15 10:02 AM, Jonny Lamb wrote:
> The intention here is to be able to find an existing wl_global using
> some search parameters and then get some information about it.
I'm not sure I see a need for this, but if there is need there should
also be documentation. :)
> ---
> src/wayland-serv
The intention here is to be able to find an existing wl_global using
some search parameters and then get some information about it.
---
src/wayland-server.c | 33 +
src/wayland-server.h | 4
2 files changed, 37 insertions(+)
diff --git a/src/wayland-server.c
On Mon, Feb 23, 2015 at 04:01:09PM +0200, Pekka Paalanen wrote:
> On Fri, 13 Feb 2015 14:01:55 +0800
> Jonas Ådahl wrote:
>
> > From: "Jasper St. Pierre"
> >
> > There is no other valid surface that we should be using here.
> > ---
> > clients/window.c | 14 +++---
> > desktop-sh
On 23 February 2015 at 15:31, Emil Velikov wrote:
> On 23 February 2015 at 14:10, wrote:
>> On 2015-02-17 16:13, Emil Velikov wrote:
>>>
>>> Currently we use the wayland-scanner executable as found with
>>> AC_PATH_PROG, and then check the presence of wayland-scanner.pc
>>>
>>> Currently the lat
On 23 February 2015 at 14:10, wrote:
> On 2015-02-17 16:13, Emil Velikov wrote:
>>
>> Currently we use the wayland-scanner executable as found with
>> AC_PATH_PROG, and then check the presence of wayland-scanner.pc
>>
>> Currently the latter is unused even if AC_PATH_PROG fails to find the
>> bin
Hi! So, unfortunately as I said before I can't test most of these
patches since I've only got the standard pen on my Intuos pro, none of
the fact mice and whatnot. I did test what I could though and I found
one bug: the button capabilities for the eraser on the Intuos Pro aren't
reported properly.
On Fri, 13 Feb 2015 14:01:57 +0800
Jonas Ådahl wrote:
> From: "Jasper St. Pierre"
>
> There haven't been any ideas for flags, so we don't need a useless,
> unused parameter hanging around. Any future ideas should be done with a
> new request entirely.
> ---
> clients/window.c | 3 +--
>
On 2015-02-17 16:13, Emil Velikov wrote:
Currently we use the wayland-scanner executable as found with
AC_PATH_PROG, and then check the presence of wayland-scanner.pc
Currently the latter is unused even if AC_PATH_PROG fails to find the
binary. Rework things to use the pkg-config variable as a f
On Fri, 13 Feb 2015 14:01:56 +0800
Jonas Ådahl wrote:
> From: "Jasper St. Pierre"
>
> It doesn't serve any purpose, as it's a serial that the client gave to
> the server when starting the popup, which the client already has.
> ---
> clients/window.c | 2 +-
> desktop-shell/shell.c | 3 +
On Fri, 13 Feb 2015 14:01:55 +0800
Jonas Ådahl wrote:
> From: "Jasper St. Pierre"
>
> There is no other valid surface that we should be using here.
> ---
> clients/window.c | 14 +++---
> desktop-shell/shell.c | 12 ++--
> protocol/xdg-shell.xml | 2 +-
> 3 files change
On Fri, 13 Feb 2015 14:01:54 +0800
Jonas Ådahl wrote:
> Signed-off-by: Jonas Ådahl
> ---
> desktop-shell/shell.c | 37 -
> 1 file changed, 24 insertions(+), 13 deletions(-)
Trivial, R-b me, pushed.
c2b1011..01193ae master -> master
Thanks,
pq
_
On Fri, 13 Feb 2015 14:01:53 +0800
Jonas Ådahl wrote:
> Can just use wl_list_for_each_safe instead of dealing with pointers
> ourself.
>
> Signed-off-by: Jonas Ådahl
> ---
> desktop-shell/shell.c | 36 +++-
> 1 file changed, 15 insertions(+), 21 deletions(-)
>
Hello,
I heard there is attempt to collect a database of mouse speeds (DPI)
so all mice behave the same.
What is the semantic of speed for trackballs? Technically the DPI of
scanning the ball movement can be determined and is often part of the
specification but the perceived speed will likely dep
Hi,
On 23-02-15 04:25, Peter Hutterer wrote:
On Wed, Feb 18, 2015 at 01:26:54PM +0100, Hans de Goede wrote:
Add support for swipe gestures.
Signed-off-by: Hans de Goede
unless noted otherwise, series
Reviewed-by: Peter Hutterer
Thanks for the review, I've addressed all your comments and
Hi,
On 23-02-15 04:02, Peter Hutterer wrote:
On Wed, Feb 18, 2015 at 01:26:53PM +0100, Hans de Goede wrote:
The two tp_get_*_touches_delta functions are almost identical, refactor
them into one function.
Signed-off-by: Hans de Goede
---
ACK to the basics, but I'd like to leave the two calls
Hi,
On 23-02-15 03:56, Peter Hutterer wrote:
On Wed, Feb 18, 2015 at 01:26:50PM +0100, Hans de Goede wrote:
Handle everything which is not handeld by the tap, (soft)button or edge-scroll
typo: handled
Fixed.
code/statemachines in a unified way. Everything is treated as a X-finger
gesture
35 matches
Mail list logo