diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-04-10 19:19:22 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-05-07 15:38:53 +0200 |
commit | 04b3e5ab055553e074ea54ef316982b55cdde96b (patch) | |
tree | 48c4349295d9509c46a65491fd522189746c4d18 /tools/perf/scripts/python/stackcollapse.py | |
parent | 65ad580a14e875c2d8c027cf1a2ca03b849ff843 (diff) |
HID: bpf: add first in-tree HID-BPF fix for the XPPen Artist 24
This commit adds a fix for XPPen Artist 24 where the second button on
the pen is used as an eraser.
It's a "feature" from Microsoft, but it turns out that it's actually
painful for artists. So we ship here a HID-BPF program that turns this
second button into an actual button.
Note that the HID-BPF program is not directly loaded by the kernel itself
but by udev-hid-bpf[0]. But having the sources here allows us to also
integrate tests into tools/testing/selftests/hid to ensure the HID-BPF
program are actually tested.
[0] https://gitlab.freedesktop.org/libevdev/udev-hid-bpf
Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-2-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions