Allows usage of razer-keyboard as a joystick/keyboard hybrid in analog mode (driver mode) on linux.
- mapping keyboard keys to abitrary joystick axes/buttons
- simultaneous use of default keyboard behaviour and joystick/gamepad
- toggleable joystick/gamepad
- add user to 'plugdev' group
sudo usermod -a -G plugdev $USER
- add udev rules file
/etc/udev/rules.d/\<filename-here>.rule
with the contents below
HuntsmanV3Pro:SUBSYSTEM=="usb",ATTR{idVendor}=="1532",ATTR{idProduct}=="02a6",MODE="0060",GROUP="plugdev"
./gradlew shadowJar
./java -jar ./build/libs/<jar-name>-all.jar <device-config-file-path>
where device-config-file-path is the path to the keyboard->gamepad/joystick mapping json file. (included example: testDeviceConfig.json)
- FN+PAGE_UP: enable joystick (disables regular keyboard output for the mapped keys)
- FN+PAGE_DOWN: disable joystick (keyboard functions as usual)
- FN+HOME: reset keyboard and close application
currently only Razer Huntsman V3 Pro is supported.