HID: bpf: add in-tree HID-BPF fix for the XPPen Artist 16
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 10 Apr 2024 17:19:23 +0000 (19:19 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Tue, 7 May 2024 13:38:57 +0000 (15:38 +0200)
commite0599675a32cb994a076a4b40d3e42d8353a5bb7
tree1dbdc5ce864409c8a8861476151bbec8383db6d3
parent04b3e5ab055553e074ea54ef316982b55cdde96b
HID: bpf: add in-tree HID-BPF fix for the XPPen Artist 16

Same problem than the Artist 24: the second button on the pen is treated
like an eraser.
But the problem is even worse this time. There is an actual eraser at
the tail of the pen.

The compensation of the coordinates was done by Martin

Signed-off-by: Martin Sivak <mars@montik.net>
Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-3-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c [new file with mode: 0644]