summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKarl Cayme <kcayme@gmail.com>2026-03-21 15:42:49 +0300
committerJiri Kosina <jkosina@suse.com>2026-05-12 18:28:52 +0300
commit15a0449c955c862045c17f35d9479791981e7812 (patch)
tree7814a789d74cb517f89a17fa9c299df40b6f078c /include/linux
parentd97e7d7c304f87419921f740743f7baa99f40539 (diff)
downloadlinux-15a0449c955c862045c17f35d9479791981e7812.tar.xz
HID: rakk: add support for Rakk Dasig X side buttons
The Rakk Dasig X gaming mouse has a faulty HID report descriptor that declares USAGE_MAXIMUM=3 (buttons 1-3) while actually sending 5 button bits (REPORT_COUNT=5). This causes the kernel to ignore side buttons (buttons 4 and 5). Fix by patching the descriptor to set USAGE_MAXIMUM=5 in the report_fixup callback. The mouse uses Telink vendor ID 0x248a with three product IDs for USB direct (0xfb01), wireless dongle (0xfa02), and Bluetooth (0x8266) connection modes. All three variants have the same bug at byte offset 17. Suggested-by: Terry Junge <linuxhid@cosmicgizmosystems.com> Signed-off-by: Karl Cayme <kcayme@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions