]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: bpf: Add Huion Dial 2 bpf fixup
authorBenjamin Tissoires <bentiss@kernel.org>
Thu, 27 Jun 2024 09:54:21 +0000 (11:54 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Mon, 1 Jul 2024 12:48:39 +0000 (14:48 +0200)
commit9b52d81115db681efc1f83ded1d572e5b0b4fd49
tree85a17b193bdda031aa2bd305962d46bed3e64585
parentf03741540dbab48f8a65da44aaadbe04216d9a42
HID: bpf: Add Huion Dial 2 bpf fixup

Pretty much similar to the Inspiroy 2, but with 2 wheels and 8 buttons.

This bpf also works in both normal and vendor mode. If the device is
switched into vendor mode by huion-switcher, a udev property is set
which is then retrieved by this bpf object. This allows to hide the now
unused normal collections.

Link: https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/103
Link: https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/104
Link: https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/111
Link: https://patch.msgid.link/20240627-import-bpf-v1-5-0dbcda4a5b1f@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/bpf/progs/Huion__Dial-2.bpf.c [new file with mode: 0644]
drivers/hid/bpf/progs/hid_bpf.h