diff options
| author | Nikhil Chatterjee <nikhilc1527@gmail.com> | 2026-04-26 06:18:19 +0300 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-05-21 18:31:14 +0300 |
| commit | 857e71cb0a538b1660743a4267a1e789575f7966 (patch) | |
| tree | cd49f3f930fae89655c9fd20d4e71d6d8ddc3d81 /include/linux/platform_data | |
| parent | 08918b98b02b5537c43cf4d591bfd8591cc3eb3b (diff) | |
| download | linux-857e71cb0a538b1660743a4267a1e789575f7966.tar.xz | |
HID: bpf: Add Huion Inspiroy Frego M button quirk
The Huion Inspiroy Frego M pen report descriptor exposes the second
side button as Secondary Tip Switch instead of Secondary Barrel Switch.
This makes userspace see the control as the wrong pen button.
Add a HID-BPF report descriptor fixup for the Bluetooth 256c:8251
device and USB 256c:2012 L610 variant. The fixup matches the expected
pen descriptor and rewrites the offending usage from Secondary Tip
Switch to Secondary Barrel Switch.
Tested by building the HID-BPF object with:
make -C drivers/hid/bpf/progs Huion__Inspiroy-Frego-M.bpf.o
Signed-off-by: Nikhil Chatterjee <nikhilc1527@gmail.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
