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.
Showing
- README.md 1 addition, 0 deletionsREADME.md
- daemon/openrazer_daemon/hardware/mouse.py 53 additions, 0 deletionsdaemon/openrazer_daemon/hardware/mouse.py
- driver/razermouse_driver.c 426 additions, 26 deletionsdriver/razermouse_driver.c
- driver/razermouse_driver.h 11 additions, 0 deletionsdriver/razermouse_driver.h
- install_files/appstream/io.github.openrazer.openrazer.metainfo.xml 1 addition, 0 deletions...iles/appstream/io.github.openrazer.openrazer.metainfo.xml
- install_files/udev/99-razer.rules 1 addition, 1 deletioninstall_files/udev/99-razer.rules
- pylib/openrazer/_fake_driver/razerbasiliskv2.cfg 26 additions, 0 deletionspylib/openrazer/_fake_driver/razerbasiliskv2.cfg
- scripts/generate_fake_driver.sh 3 additions, 0 deletionsscripts/generate_fake_driver.sh
Loading
Please register or sign in to comment