We don't initialize click methods on devices with physical buttons. This model
is a special case, it's not a clickpad but it only has one button (because one
button is all you ever need and whatnot).
https://bugs.freedesktop.org/show_bug.cgi?id=99283
Signed-off-by: Peter Hutterer
---
src/evdev-
The first RC for libinput 1.6 is now available.
The primary feature merged in this cycle is the new touchpad acceleration
code. See this link for a writeup
https://who-t.blogspot.com.au/2016/12/libinput-touchpad-pointer-acceleration.html
The summary is that the now touchpad better reflects finger
This was already in the DTD but not supported by the scanner.
The request/event parsing have an additional check that "since" cannot be <
interface version. This is missing here. For requests/events we can rely on
the xml containing the required "since" attributes already. enums don't have
those,
Same code we already had, just moved into a helper function
Signed-off-by: Peter Hutterer
---
src/scanner.c | 33 ++---
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/src/scanner.c b/src/scanner.c
index a239c71..5d66fa4 100644
--- a/src/scanner.c
+++
Add listener for lid switch events, disable touchpad on switch event.
Signed-off-by: James Ye
---
src/evdev-mt-touchpad.c | 47 +++
src/evdev-mt-touchpad.h | 5 +
2 files changed, 52 insertions(+)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-
Create a lid_switch_interface to handle lid switch events, so the touchpad can
be disabled when lid is closed.
Signed-off-by: James Ye
---
Changes since v1:
- style and text fixes
src/evdev.c | 94 +++--
src/evdev.h | 8 ++
2 files c
Signed-off-by: James Ye
---
Changes since v1:
- test switch type in litest_is_switch_event()
- test duplicate switch events
- event conversion test
- improved scroll interrupt test
test/Makefile.am| 4 +-
test/lid.c | 263 +++
This will allow switch devices known to libinput to be exposed. Currently,
these are SW_LID and SW_TABLET_MODE.
libinput also handles switch events internally, e.g. a laptop touchpad will
be disabled autmoatically when the lid is closed. This is transparent to
the caller, although the caller will
Signed-off-by: James Ye
---
udev/90-libinput-model-quirks.hwdb | 6 ++
1 file changed, 6 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb
b/udev/90-libinput-model-quirks.hwdb
index eb74f61..f038144 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-qui
Although a laptop touchpad is usually not accessible when the lid is closed,
some laptop models suffer from a hardware bug where the touchpad can be
activated even if the lid is closed. This bug can be worked around by disabling
the touchpad when the lid is closed.
This patch set adds:
1: hwdb pa
https://bugs.freedesktop.org/show_bug.cgi?id=99200
Signed-off-by: Peter Hutterer
---
udev/90-libinput-model-quirks.hwdb | 6 ++
1 file changed, 6 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb
b/udev/90-libinput-model-quirks.hwdb
index e467e59..04bdf9a 100644
--- a/udev/90-l
We used to mark dell touchpads this way but let's make this more generic.
Nothing else used the dell touchpad model flag, so we can simply replace it.
Signed-off-by: Peter Hutterer
---
sorry, rebase gone wrong and it skipped the test/udev directories in v1.
src/evdev-mt-touchpad-buttons.c |
12 matches
Mail list logo