Genius G-Pen 560 pen tablet fails to detect pen up randomly
Note: the device wasn't detected at all at first, I had to add the following to hwdb:
# G-Pen 560
evdev:input:b0003v0458p5003*
EVDEV_ABS_00=::75
EVDEV_ABS_01=::75
(Will submit it upstream later)
Summary
Sometimes when lifting the pen, it's still treated as pressed and will draw unwanted lines when just moving the pen above the tablet.
From libinput debug-events it seems that when it happens, there's no tool tip up event, and instead it happens before the next down event.
How to reproduce
Try drawing lines consecutively in a |||||||
formation. Sometimes the line will continue after
lifting the pen and the lines will be connected like |||N||||N|||
See the screen recording:
Запись_экрана_от_12.09.2020_20_22_19
All lines here were drawn the same way, lifting the pen after each one. This is same recording as the attached debug-events output.
Required information
- libinput version: 1.16.1
- hardware information: Genius G-Pen 560 pen tablet
-
libinput record
output: recording.yml -
libinput debug-events --verbose
output: debug-events4
I also noticed that if you don't press the pen too hard, it generates non-zero
pressure events before BTN_TOUCH
is pressed, this might be related.