Huawei M-Pencil 2 not registered as Stlylus but as touchscreen
Summary
Stylus touch events seem to be reported as a separate input device with position and pressure data by the kernel, but libinput reports them as part of the touchscreen with pressure data missing. The expected behaviour would be for them to be reported as stylus events, like with pen tablets.
Device: Huawei Matebook E 2022
Stylus: Huawei M-Pencil 2
Steps to reproduce
In xournal++ drawing with the pen and with a finger is the same, without pressure data. In the xournal++ settings, the pen is not registered as a separate device.
Required information
- libinput version:
1.21.0
- hardware information:
Operating System: Fedora Linux 37
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 6.1.0-0.rc0.20221011git60bb8154d1d7.8.vanilla.1.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × 11th Gen Intel® Core™ i3-1110G4 @ 1.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: HUAWEI
Product Name: DRC-WXX
System Version: M1010
-
libinput record
output: libinput-record.txt -
libinput debug-events --verbose
output: libinput-debug-events.txt