HID: bpf: fix BTN_STYLUS for the XP Pen ACK05 remote
PATCH 1/1 HID: bpf: fix BTN_STYLUS for the XP Pen ACK05 remote
Usage_Dig_BarrelSwitch was applied in the UsagePage_Button which incorrectly mapped to BTN_TOOL_PENCIL
Fixes 834da375 ("bpf: add a v6.11+ compatible BPF fixup for the XPPen ACK05 remote")
Signed-off-by Peter Hutterer <[email protected]>
---
Please feel free to squash this one into the 834da375 if that's an option.
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c | 1 + 1 file changed, 1 insertion(+)
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c +1 -0
@@ -157,6 +157,7 @@ static const __u8 fixed_rdesc_vendor[] = { ReportCount(5) // paddingInput (Const)// Byte 4 in report - just exists so we get to be a tablet pad + UsagePage_Digitizers Usage_Dig_BarrelSwitch // BTN_STYLUS ReportCount(1) ReportSize(1)
Signature · 1 line
2.49.0
Quoted 8 lines · Peter Hutterer
Usage_Dig_BarrelSwitchwas applied in theUsagePage_Buttonwhich incorrectly mapped toBTN_TOOL_PENCILFixes 834da375 ("bpf: add a v6.11+ compatible BPF fixup for the XPPen ACK05 remote")Signed-off-by Peter Hutterer <[email protected]>
Applied, thanks Peter.
Signature · 2 lines
Jiri Kosina SUSE Labs