Skip to content
Snippets Groups Projects
Commit ba911631 authored by Dennis Lambe Jr's avatar Dennis Lambe Jr Committed by Luca Weiss
Browse files

Add support for Razer Basilisk V2

Translate tilt wheel clicks to REL_HWHEEL events in the kernel driver
Translate Profile and Clutch buttons to F18 and F19

There seems to be parallel construction between the remapping in this
driver and the M1-M5 key handling in the razerkbd driver. Since razerkbd
assigns F17 to input code 0x24, I didn't want to use F17 to mean some
other code in the mouse driver. Hence, F17 is skipped and the Basilisk's
new buttons are mapped starting at F18.

Repeat HWHEEL events while the wheel is held tilted with 250 ms delay &
33 ms repeat

Adjustable repeat rate and repeat delay on tilt wheel

Device attr to disable tilt wheel HWHEEL translation

Convert DPI, Profile buttons to BTN_ events on mouse intf

There are a lot of Razer mice that this driver tries to support, and
adding the need to grok and then patch report descriptors seemed like
adding too much to the reverse engineering burden. Instead, I do all of
my report interpretation in the raw_event hook.
parent 1ca42e06
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment