an active grab on the
> keyboard to capture all keyboard events.
>
> Signed-off-by: Olivier Fourdan <ofour...@redhat.com>
This one is Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net>
Cheers,
Peter
> ---
> Makefile.am| 1 +
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 41 +++
test/test-touchpad.c| 73 ++---
2 files changed, 13 insertions(+), 101 deletions(-)
diff --git a/src/evdev-mt-touchpad.c
for the right device.
[1] We rely on the caller to notify us when to remove the device and thus
silently ignore ENODEV.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/litest.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/litest.c b/test/litest.c
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
tools/libinput.1 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/libinput.1 b/tools/libinput.1
index f6047490..6d5ea47b 100644
--- a/tools/libinput.1
+++ b/tools/libinput.1
@@ -50,5 +50,7 @
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index a3161b82..a5cb7f6d 100644
--- a/meson.build
+++ b/meson.build
@@ -361,6 +361,7 @@ executable('libinput-debug-
Removed with commit 863fd1f0ebf145dc2b3a59e2a3e57dbc4ce77eaf but now that we
exec each subcommand, the previous per-target compilation flags aren't needed
anymore. Build a static library to avoid rebuilding the source files for each
target.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.
Fair bit of cleanup, but the gist is patch 03 and 11 shows why. I started
adding helper tools to libinput but having to chain the args inside the same
process is tricky enough to not be worth it. The only benefit we would've
had is for easier global options but they don't apply to a bunch of
n't needed anymore. If you want
to gdb directly in the source tree, build with meson.
Or use "libtool --mode=execute gdb" for an autotools build.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 11 +--
tools/.gitignore | 1
mesonconf option to debug-gui.
This also drops the standalone event-gui binary in both autotools and meson.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
configure.ac| 22 +++--
meson.build
with the data
for visualization by e.g. gnuplot. Eventually, more of the current analysis
scripts will be moved into this or other helpers.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 20 ++
tools/Makefile.am | 20 +-
This now makes the header obsolete too
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
tools/Makefile.am | 4 +---
tools/libinput-debug-events.c | 1 -
tools/libinput-list-devices.c | 1 -
tools/libinput-tool.c | 14 ++
tools/libinput-
. Expect these wrappers to be removed at some point in the
future.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build| 9 ++-
tools/.gitignore | 2 -
tools/Makefile.am | 48 ++--
tools/install-
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev.c | 2 +-
src/libinput-util.h | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/evdev.c b/src/evdev.c
index f7a019c6..83b8db07 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1857,7 +
Now that the debug-gui is a user-visible tool, make sure the usage reflects
the right command name.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
tools/libinput-debug-events.c | 2 +-
tools/libinput-debug-gui.c| 2 +-
tools/shared.c
as shipped by
systemd, similar to the touchpad property.
https://bugs.freedesktop.org/show_bug.cgi?id=101101
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c| 3 +--
src/evdev.c| 31 ++
cgi?id=101099
Signed-off-by: Benjamin Tissoires <benjamin.tissoi...@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-lid.c | 7 +--
test/test-lid.c | 51 +++
2 files changed, 56 insertions(+), 2 deleti
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-lid.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/evdev-lid.c b/src/evdev-lid.c
index 9e694ba1..9815b8fa 100644
--- a/src/evdev-lid.c
+++ b/src/evdev-lid.c
@@ -74,6 +74,10 @@ lid_switch_keyboard_event(ui
).
Now we assume there can only be one internal keyboard, once we have it we
ignore all others. This shouldn't matter in real life provided the tagging is
correct.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-lid.c | 28 +++-
1 file chang
Turns out the Surface3 lid switch handling didn't work as well as it should
(or at all?). The only patch that affects other devices now is 2/5, we tag
keyboards as internal/external which eventually will feed into the other
bits of libinput for DWT detection. That bit will come once this set is
On Fri, May 19, 2017 at 07:32:28PM +0200, Friedrich Schöller wrote:
> With a thumb on the touchpad, a two-finger click was always treated as
> a middle-click. This patch takes the thumb into account and treats the
> click as a right-click, if the touchpad supports tracking of at least
> three
Hi Friedrich,
On Tue, May 16, 2017 at 10:44:22PM +0200, Friedrich Schöller wrote:
> With a thumb on the touchpad, a two-finger click was incorrectly
> treated as a middle-click. This patch takes the thumb into account and
> treats the click as a right-click.
fwiw, this was intentional behaviour,
easier to handle: create a configure_file for all the
files we need (so they all end up in builddir/) and simply hardcode the name
for join_paths. Define the lot in config.h, no need to pass compiler flags
around.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.buil
On Wed, May 17, 2017 at 04:35:29PM +0100, Eric Engestrom wrote:
> On Wednesday, 2017-05-17 09:02:32 +1000, Peter Hutterer wrote:
> > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
> > ---
> > meson.build | 7 +++--
> > t
On Wed, May 17, 2017 at 11:22:51PM +0200, Friedrich Schöller wrote:
> Dear all, dear Peter,
>
> As you know, bcm5974 touchpads do not report ABS_MT_PRESSURE, but
> ABS_MT_WIDTH instead. Since libinput does not currently use ABS_MT_WIDTH,
> thumb detection is inaccurate on those devices. When I
On Mon, May 15, 2017 at 01:08:17PM +0200, Gabriel Laskar wrote:
> commit 3925936 introduced changes to container_of, this is hopefully the
> last part of it.
>
> In the linux kernel, container_of() takes a type name, and not a
> variable. Without this, in some cases it is needed to declare an
https://bugs.freedesktop.org/show_bug.cgi?id=101008
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
This builds on top of the patch series here
https://lists.freedesktop.org/archives/wayland-devel/2017-April/033942.html
since rebased and available here:
https://github.co
Include the source files directly, we'll need per-target compiler flags that
affect different tools differently in the future.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
tools/Makefile.am | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
We currently have two tools that we install - libinput-list-devices and
libinput-debug-events. There's a bunch of things we need to do for debugging
that is different enough that different tools are warranted for. Instead of
messing up /usr/bin with a swath of libinput-foo tools, let's switch to
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 7 +++--
tools/Makefile.am | 8 --
tools/libinput-debug-events.c | 15 +--
tools/libinput-tool.c | 8 ++
tools/libinput-tool.h | 1 +
tools/libi
This tool will eventually replace the different libinput tools we ship atm
with the various functionalities being commands to the single tool, rather
than multiple tools.
Right now, we still build both tools separately.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 2 +-
tools/Makefile.am| 2 +-
tools/{event-debug.c => libinput-debug-events.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
ren
On Sun, May 14, 2017 at 04:33:15PM +0200, Gabriel Laskar wrote:
> As said in
> https://lists.freedesktop.org/archives/wayland-devel/2017-May/034074.html, we
> probably can assume that offsetof will be supported by the compiler.
>
> Also some bugs came by:
> * hwdb_parser.py assumes that python3
On Wed, May 10, 2017 at 01:07:23PM +0200, Gabriel Laskar wrote:
> On Wed, May 10, 2017 at 01:47:56PM +1000, Peter Hutterer wrote:
> > clang supports __typeof__ which was the only real difference. Not sure any
> > other compilers matter (that don't support __typeof__)
> >
>
On Wed, May 10, 2017 at 11:13:07AM +0100, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom
> ---
> src/evdev.c | 17 +++--
> 1 file changed, 7 insertions(+), 10 deletions(-)
>
> diff --git a/src/evdev.c b/src/evdev.c
> index a2be6fc..7895644 100644
>
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/evdev.c b/src/evdev.c
index d24a5646..a2be6fce 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -92,7 +92,7 @@ static const struct evdev_udev_tag
=100976
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/libinput-util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libinput-util.h b/src/libinput-util.h
index a9a2b660..9ecded7e 100644
--- a/src/libinput-util.h
+++ b/src/libinput-util.h
@@ -87,7
Because otherwise things go boom, but unless you passed -fshort-enums this
shouldn't happen anyway. And gcc's documentation says don't do that. So don't
do that, or we'll scream at you.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/libinput.
.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/libinput.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libinput.c b/src/libinput.c
index 472b1c0c..23255b07 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -46,7 +46,7 @@
static inlin
clang supports __typeof__ which was the only real difference. Not sure any
other compilers matter (that don't support __typeof__)
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/libinput-util.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/src/libinput-util.h
detection failures in the future.
https://bugzilla.redhat.com/show_bug.cgi?id=1415796
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 11 ++-
test/test-touchpad.c| 8
2 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/src
On Mon, May 08, 2017 at 12:01:05PM +0300, Pekka Paalanen wrote:
> On Mon, 8 May 2017 18:35:33 +1000
> Peter Hutterer <peter.hutte...@who-t.net> wrote:
>
> > On Mon, May 08, 2017 at 02:12:02PM +1000, Peter Hutterer wrote:
> > > Running valgrind through mesontes
On Mon, May 08, 2017 at 02:12:02PM +1000, Peter Hutterer wrote:
> Running valgrind through mesontest produces coredumps for a lot of tests
> (unclear why, the core dump merely shows a call to abort). But even without
> mesontest, creating a core dump for each failed test is a bad idea
the file
system.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/litest.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/test/litest.c b/test/litest.c
index 9eadc459..62e86da7 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -39,6 +39,7 @@
#include
#include
Sequence triggered by the xorg driver, but basically: if the touchpad is
destroyed before the lid switch, the event listener wasn't removed and an
assertion was triggered.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 6 ++
test/test
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/libinput-util.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/libinput-util.c b/src/libinput-util.c
index 38594fa4..ca07 100644
--- a/src/libinput-util.c
+++ b/src/libinput-util.c
@@ -50,6 +50,9 @@ lis
, the call to device_destroy will find a
remaining event listener and assert
https://bugzilla.redhat.com/show_bug.cgi?id=1440927
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-lid.c | 21 +++--
test/test-lid.c | 30 ++
2
Kocialkowski (3):
udev: Remove unused Elantech touchpad model binding
udev: Select more generic pressure range values for Elantech touchpads
udev: Add specific pressure range for the ASUS ZenBook UX21E
Peter Hutterer (3):
touchpad: move the pressure range to a hwdb entry
doc
On Wed, May 03, 2017 at 05:41:34PM -0500, Michael Wisniewski wrote:
> On Tue, May 2, 2017 at 6:08 PM, Peter Hutterer <peter.hutte...@who-t.net>
> wrote:
>
> > fwiw, this stuff would be better on a public mailing list, so others can
> > learn too.
>
>
>
On Tue, May 02, 2017 at 10:54:03PM -0300, Marcos Paulo de Souza wrote:
> Instead of reimplementing a for loop every time.
>
> Signed-off-by: Marcos Paulo de Souza
> ---
> Hi guys, this is my first patch to libinput, so please let me know if I
> forgot
> someting.
>
On Fri, Apr 28, 2017 at 03:32:58PM +0200, Paul Kocialkowski wrote:
> This series introduces device-tree-based model detection and uses it for
> fine tuning on the Chromebook R13 CB5-312T.
>
> It applies on top of my series fixing the default range values for PS/2
> Elantech touchpads.
Patches
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
doc/Makefile.am| 1 +
doc/page-hierarchy.dox | 3 ++-
doc/timestamps.dox | 36
src/libinput.h | 42 ++
4 files changed, 81 inse
Hi Christian,
On Wed, Apr 26, 2017 at 08:40:27AM +, Kögler Christian wrote:
> Motivation
> Assign calibration to a specific device.
>
> Problem
> LIBINPUT_CALIBRATION_MATRIX is not used, because the used context creation
> function libinput_path_create_context do not recognize Udev
On Fri, Apr 28, 2017 at 03:29:02PM +0200, Paul Kocialkowski wrote:
> The Elantech touchpad model binding in udev is currently unused, since
> pressure values were moved to a udev binding of their own.
>
> This gets rid of the deprecated model binding.
>
> Signed-off-by: Paul Kocialkowski
With autotools, we replace the @top_srcdir@ during configure and then run
the resulting scripts.
With meson, it's easier to just pass top-srcdir it in as argument.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
Changes to v1:
- use a case statement to check the first cha
On Sun, Apr 30, 2017 at 08:52:21PM +0200, Quentin Glidic wrote:
> On 4/26/17 4:20 AM, Peter Hutterer wrote:
> > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
> > ---
> > meson.build | 596
> > +++
This makes the tapping times shorter and hopefully more obvious. It also fixes
a bug where repeated tripletap (by tapping with one finger while leaving the
other two down) could cause incorrect timestamps.
https://bugs.freedesktop.org/show_bug.cgi?id=100796
Signed-off-by: Peter Hutterer
Without this enabled, we stay in the single/double tap part of the state
machine and a triple tap is just a double tap followed by a single tap.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/test-touchpad-tap.c | 5 +
1 file changed, 5 insertions(+)
diff --git
timeouts
matter less for double-click detection.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad-tap.c | 58 --
src/evdev-mt-touchpad.h | 3 ++-
test/test-touchpad-tap.c
Both events had the same timestamp but we have the timestamp from the original
event - use it.
https://bugs.freedesktop.org/show_bug.cgi?id=100796
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad-tap.c | 10 +--
test/test-touchpad-tap.c
On Thu, Apr 27, 2017 at 02:26:24AM +0200, Bastien Nocera wrote:
> On Thu, 2017-04-27 at 08:35 +1000, Peter Hutterer wrote:
> > On Wed, Apr 26, 2017 at 03:49:55PM +0200, Bastien Nocera wrote:
> > > On Wed, 2017-04-26 at 12:00 +1000, Peter Hutterer wrote:
> > > >
>
' as default instead of variations of
'true', 'enabled' and 'yes'
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
Notes:
- _GNU_SOURCE is independent of gnu99, so I left it in place
- left the /prefix/lib/udev bits in place too
- left the lt-so name mangling in place, wil
We use #if everywhere else and it allows building with '-Wundef -Werror=undef'
to avoid accidental misuse.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
New in this series
test/litest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/litest.c
On Wed, Apr 26, 2017 at 03:49:55PM +0200, Bastien Nocera wrote:
> On Wed, 2017-04-26 at 12:00 +1000, Peter Hutterer wrote:
> > On Tue, Apr 25, 2017 at 11:16:24AM +0200, Bastien Nocera wrote:
> > > On Tue, 2017-04-25 at 10:20 +1000, Peter Hutterer wrote:
> > > > On M
On Wed, Apr 26, 2017 at 11:26:17AM +0200, Quentin Glidic wrote:
> On 4/26/17 4:20 AM, Peter Hutterer wrote:
> > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
> > ---
> > meson.build | 596
> > +++
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
meson.build | 596 ++
meson_options.txt | 16 ++
2 files changed, 612 insertions(+)
create mode 100644 meson.build
create mode 100644 meson_options.txt
diff
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
tools/Makefile.am| 4 ++--
tools/{libinput-debug-events.man => libinput-debug-events.1} | 0
tools/{libinput-list-devices.man => libinput-list-devices.1} | 0
3 files changed,
We pass in the input via the commandline, so having the files here is
misleading. Replace it with an @INPUT@ - in autotools that one is ignored but
it'll help meson.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
doc/libinput.doxygen.in | 3 +--
1 file changed, 1 insertion
With autotools, we replace the @top_srcdir@ during configure and then run teh
resulting scripts.
With meson, it's easier to just pass top-srcdir it in as argument.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/symbols-leak-test.in | 11 +--
1 file chan
These were added in 2013 for old enterprise distributions (centos 5.5, see fdo
bz 63360), it's now 4 years later and these checks seems a bit superfluous.
If those bits are missing, compilation will fail anyway.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
configure.
This adds meson as a build system, for now in parallel to autotools but if
everything goes well expect autotools to be removed in a future release. So
better get on the meson bandwagon.
There are a couple of minor differences, the biggest is probably that the
test run doesn't automatically run
On Tue, Apr 25, 2017 at 11:34:06AM +0200, Bastien Nocera wrote:
> On Sun, 2017-04-23 at 09:47 -0700, Roderick Colenbrander wrote:
> >
>
> > We originally discussed maybe using pipes and now more unix domain
> > sockets for 'non kernel evdev fds'. As part of the discussion we
> > realized ioctls
On Tue, Apr 25, 2017 at 11:16:24AM +0200, Bastien Nocera wrote:
> On Tue, 2017-04-25 at 10:20 +1000, Peter Hutterer wrote:
> > On Mon, Apr 24, 2017 at 02:19:45PM +1000, Peter Hutterer wrote:
> > > On Sun, Apr 23, 2017 at 09:47:20AM -0700, Roderick Colenbrander
> > > wr
On Tue, Apr 25, 2017 at 11:29:07AM +0200, Jan Engelhardt wrote:
> * Drop version-specific SO version from source-install command where
> this is not needed.
> * Less typing for the user: use zypper short forms.
> * Less typing for the user: libtool implies automake implies
> autoconf, so trim
instructions for openSUSE
Peter Hutterer (9):
evdev: fix typo in log message
touchpad: don't try to unhover touches in NONE state
doc: drop superfluous tag
tools: fix typo in list-devices man page
tools: update man page for debug-events --show-keycodes flag
doc: link
On Mon, Apr 24, 2017 at 03:31:39PM +0200, Paul Kocialkowski wrote:
> Le lundi 24 avril 2017 à 16:11 +1000, Peter Hutterer a écrit :
> > On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote:
> > > Some devices do not use dmi at all (this is the case on most non-x
On Mon, Apr 24, 2017 at 03:43:56PM +0200, Paul Kocialkowski wrote:
> Le lundi 24 avril 2017 à 16:22 +1000, Peter Hutterer a écrit :
> > On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote:
> > > The high pressure value for Elantech touchpads (both PS/2 and I2C) is
On Mon, Apr 24, 2017 at 02:19:45PM +1000, Peter Hutterer wrote:
> On Sun, Apr 23, 2017 at 09:47:20AM -0700, Roderick Colenbrander wrote:
> > On Mon, Apr 17, 2017 at 9:05 PM, Peter Hutterer
> > <peter.hutte...@who-t.net> wrote:
> > >
> > > On Fri, Apr 07, 2
On Mon, Apr 24, 2017 at 10:57:37AM +0300, Pekka Paalanen wrote:
> On Sun, 23 Apr 2017 09:47:20 -0700
> Roderick Colenbrander wrote:
>
> > We originally discussed maybe using pipes and now more unix domain
> > sockets for 'non kernel evdev fds'. As part of the discussion we
>
On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote:
> The high pressure value for Elantech touchpads (both PS/2 and I2C) is
> not adapted to various devices, on which the touchpad is barely usable.
>
> Decreasing the high value makes those devices usable again, while not
>
On Fri, Apr 21, 2017 at 01:31:57PM +0200, Paul Kocialkowski wrote:
> This adds support for I2C Elan touchpads, such as the ones found in
> various ARM CrOS devices. These devices do not use dmi.
>
> The pressure range is copied as-is from the current Elantech PS/2
> touchpads entry. It is not
On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote:
> Some devices do not use dmi at all (this is the case on most non-x86
> platforms, such as arm and arm64) but should able to select specific
> quirks based on the input device name too.
>
> This adds name-based input device
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
doc/Makefile.am | 1 +
doc/faqs.dox | 5 ++
doc/page-hierarchy.dox| 1 +
doc/touchpad-pressure.dox | 138 ++
4 files changed, 145 insertions(+)
creat
On Sun, Apr 23, 2017 at 09:47:20AM -0700, Roderick Colenbrander wrote:
> On Mon, Apr 17, 2017 at 9:05 PM, Peter Hutterer
> <peter.hutte...@who-t.net> wrote:
> >
> > On Fri, Apr 07, 2017 at 01:43:57PM +0300, Pekka Paalanen wrote:
> > > On Fri, 7 Apr 2017 14
hands and leave it all to the caller.
https://bugs.freedesktop.org/show_bug.cgi?id=100707
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
Pekka: I added the last sentence on top of the patch from 100707, but l
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev.c| 64 -
src/evdev.h| 4 ++
src/libinput.h | 15 +
test/Makefile.am | 1 +
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev.c| 20
src/evdev.h| 4
src/libinput.c | 7 +++
src/libinput.h | 16
src/libinput.sym | 4
test/test-switch.c | 11 +++
6 files c
Still hardcoded for lid switches, but easier to change for other switches now.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/test-switch.c | 81 --
1 file changed, 30 insertions(+), 51 deletions(-)
diff --git a/tes
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/test-switch.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/test/test-switch.c b/test/test-switch.c
index b310a0c..3fbd244 100644
--- a/test/test-switch.c
+++ b/test/test-switch.c
@@ -42,6 +42,16 @@ STAR
More in line with other tests and allows us to use 'sw' as name for the actual
switch to be toggled later. The variable name 'sw' stays in those tests where
we have touchpad/keyboard/etc. devices as well.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/test-switch.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/litest.c | 17 ++---
test/litest.h | 5 ++--
test/test-misc.c | 8 --
test/test-switch.c | 72 --
4 files changed, 77 insertions(+), 25 del
So we can add other switch tests to it without confusing too many people.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
test/Makefile.am | 2 +-
test/{test-lid.c => test-switch.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename test/{t
If the touchpad driver tells us something is a palm, go with that.
https://bugs.freedesktop.org/show_bug.cgi?id=100243
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 41
src/evdev-mt-touchpad.h | 4 +++
test/test-touc
Nested trinary conditions are fun, but...
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index e891dea..3
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 21fdc46..f41dd68 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src
Just code cleanup, no changes.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 41 +++--
1 file changed, 27 insertions(+), 14 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index e
Trackpoints are situated so that a user is pretty much guaranteed to trigger
some palm interaction, even if on a small touchpad. Always enable trackpoint
monitoring on touchpads where required.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 2 ++
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c | 30 ++
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 9322393..21fdc46 100644
--- a/src/evdev-mt-touc
MT_TOOL_PALM is the kernel's way of telling us a touch point is a palm.
Let's use it where supported. Patches 1-5 are largely cleanup, 6 is the
actual patch that matters.
Cheers,
Peter
___
wayland-devel mailing list
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
src/evdev-mt-touchpad.c| 44 +++---
src/libinput-util.c| 36 +++
src/libinput-util.h| 1 +
test/test-misc.c
On Tue, Apr 18, 2017 at 11:12:18AM +0200, Bastien Nocera wrote:
> On Tue, 2017-04-18 at 14:05 +1000, Peter Hutterer wrote:
> > On Fri, Apr 07, 2017 at 01:43:57PM +0300, Pekka Paalanen wrote:
> > > On Fri, 7 Apr 2017 14:04:40 +1000
> > > Peter Hutterer <p
601 - 700 of 3197 matches
Mail list logo