Signed-off-by: Peter Hutterer
---
No changes to v1
doc/svg/tablet-interfaces.svg | 325 ++
doc/tablet-support.dox| 2 +
2 files changed, 327 insertions(+)
create mode 100644 doc/svg/tablet-interfaces.svg
diff --git a/doc/svg/tablet-interfaces.s
Signed-off-by: Peter Hutterer
---
Adjusted for the new API in 2/5
test/Makefile.am | 7 +
test/litest-device-wacom-intuos3-pad.c | 117 +
test/litest-device-wacom-intuos5-pad.c | 122 ++
test/litest-int.h | 16 ++
test/litest.c
Signed-off-by: Peter Hutterer
---
Adjustments for the new API in 2/5
src/Makefile.am| 1 +
src/evdev-tablet-pad.c | 614 +
src/evdev-tablet-pad.h | 69 ++
src/evdev.c| 28 ++-
src/evdev.h| 13 ++
src/libinpu
This interface handles the buttons on the physical tablet itself, including
the touch ring and the strip.
A notable difference to other libinput interfaces here is that we do not use
linux/input.h event codes for buttons. Instead, the buttons are merely
numbered sequentially, starting at button 1.
Signed-off-by: Peter Hutterer
---
Changes since v1:
- new in this version
src/evdev-tablet.c | 38 +-
src/evdev.c| 52
src/evdev.h| 3 +++
3 files changed, 56 insertions(+), 37 deletions(-)
Second version of the tablet pad support patches. The main change is
switching from button codes to simple button numbers. This is motivated
by the fact that most buttons don't have any actual meaning and the only
reason we have something other than BTN_0, BTN_1 etc is that we run out of
space in
The state of button scrolling should determine whether we filter the event,
not the hardware button state.
Signed-off-by: Peter Hutterer
---
src/evdev.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 9be4a96..e272f4b 100644
--- a/src/
https://bugs.freedesktop.org/show_bug.cgi?id=94856
Signed-off-by: Peter Hutterer
---
src/evdev.c| 107 -
src/evdev.h| 2 +-
test/pointer.c | 53
3 files changed, 114 insertions(+), 48 deletions(-)
di
We already handle the case where we have MB emulation active and a middle
button is pressed because we often don't know if we have a middle button on
the device.
But the other way round makes little sense, when a physical middle button is
down emulation should not engage. Test for this.
Signed-of
The only difference between evdev_pointer_notify_physical_button() and
evdev_pointer_notify_button() is that the former filters out middle button
emulations where applicable.
Doing so effectively disables using a button for scrolling that is also used
for middle button emulation. This is intention
On Fri, Apr 08, 2016 at 03:51:26PM +0800, Jonas Ã…dahl wrote:
> The libinput_*_get_time() returns a 32 bit unsigned integer, but in the
> tests we compared them to a 64 bit unsigned integer. This means that
> when the 32 bit integer overflowed, we'd still compare to a
> non-overflowed 64 bit integer
Supposed to be [-1, 1] but we only generated [0, 1]
Reported-by: Carlos Garnacho
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 2 +-
test/tablet.c | 10 +++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
index 9a1ac52
12 matches
Mail list logo