https://bugs.kde.org/show_bug.cgi?id=524287
Bug ID: 524287
Summary: Buttons on HP Rechargeable MPP2.0 Tilt pen not
recognised
Classification: Applications
Product: systemsettings
Version First 6.7.4
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: kcm_tablet
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
DESCRIPTION
I have a HP Rechargeable MPP2.0 Tilt pen. Drawing with it works great, but the
lower button is not recognised in the KDE System Settings "Drawing Tablet"
module. When I press the upper button, the text on “Pen button 1” turns bold.
Which is already strange because the pen image to the left says that button 1
should be the lower button.
But the lower button (that should be “Pen button 2”) is not recognised at all
and I can’t get it to show up.
So I used evtest to see if the buttons are working at all, and they are:
Lower button (primary)
The primary button has been emitting different events, but I am unsure what the
difference is
> Event: time 1786714004.766037, -------------- SYN_REPORT ------------
> Event: time 1786714005.025611, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN),
> value 0
> Event: time 1786714005.025611, -------------- SYN_REPORT ------------
> Event: time 1786714007.669950, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN),
> value 1
> Event: time 1786714007.993924, -------------- SYN_REPORT ------------
> Event: time 1786714007.998332, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN),
> value 0
> Event: time 1786714007.998332, -------------- SYN_REPORT ------------
> Event: time 1786714008.002042, type 1 (EV_KEY), code 321 (BTN_TOOL_RUBBER),
> value 1
Upper button (secondary)
> Event: time 1786714008.723213, -------------- SYN_REPORT ------------
> Event: time 1786714008.748976, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0044
> Event: time 1786714008.748976, type 1 (EV_KEY), code 331 (BTN_STYLUS), value 0
As suggested on KDE Discuss [1], I tested the pen with input-remapper, which
did also recognise the pen buttons. The lower button gets recognised as "Button
TOOL RUBBER", while the upper button is "Button STYLUS". As a test, I applied a
mapping from TOOL RUBBER to KEY_LEFTMETA, which works well.
So it seems like Plasma is the missing link for not recognising this as the
proper button and/or not letting me remap what counts as a button.
[1]
https://discuss.kde.org/t/button-on-hp-rechargable-mpp2-0-tilt-pen-not-recognized/49395
STEPS TO REPRODUCE
1. HP Rechargeable MPP2.0 Tilt pen
2. Go into KDE Settings -> Drawing Tablet -> Pen
3. Press the buttons while hovering the pen over the screen.
OBSERVED RESULT
Upper button gets recognised as button 1, while the lower button doesn't get
recognised at all
EXPECTED RESULT
Both buttons are mapped correctly
SOFTWARE/OS VERSIONS
Operating System: Arch Linux on HP Envy x360 15-fe0xxx
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.