]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: rapoo: Add support for side buttons on RAPOO 0x2015 mouse
authorNguyen Dinh Dang Duong <dangduong31205@gmail.com>
Fri, 27 Jun 2025 17:04:23 +0000 (00:04 +0700)
committerJiri Kosina <jkosina@suse.com>
Sat, 10 Jan 2026 08:52:37 +0000 (09:52 +0100)
commitb3b1c68fb726907ea35ac172906705fe62c7fdaf
treeacf2b83dc1871bc3619a6ab86027d25625cb9dd8
parentd7f6629bffdcb962d383ef8c9a30afef81e997fe
HID: rapoo: Add support for side buttons on RAPOO 0x2015 mouse

This patch adds support for handling the side buttons
on the RAPOO 0x2015 wireless mouse. These buttons were
previously not generating input events due to missing
driver logic.

The new code handles raw HID input report with Report
ID 1 and maps the side buttons to KEY_BACK and KEY_FORWARD
using the input subsystem.

Tested on a RAPOO mouse with USB ID 24AE:2015.

Signed-off-by: Nguyen Dinh Dang Duong <dangduong31205@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-ids.h
drivers/hid/hid-rapoo.c [new file with mode: 0644]