Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ delegates events, so synthetic events need `{bubbles: true}`.
multimedia key layouts. It is embedded with `include_str!` and parsed once (`core::profile::catalog()`).
- Python dict keys that are ints (`choices`, `output_choices`) are exported as lists to keep their type
and order.
- Battery lambdas become `battery_level.format: "aerox" | "rival"`.
- Battery lambdas become `battery_level.format: "aerox" | "rival" | "rival_pro"`, and a firmware
`parse` lambda becomes `firmware_version.format: "ascii"` (no format = raw bytes). Both are
identified by probing the lambdas; an unknown one fails the export.
- `output_choices` tables that map every `input_range` value to itself (the Rival Pro's 65000 DPI) are
exported as `output_choices_identity: true` and rebuilt by `Setting::expand_output_choices()`.
- `src-tauri/resources/99-steelseries-rival.rules`, the udev rules. They are embedded for the in-app
installer and shipped in the .deb/.rpm.
- `tools/gen_golden.py` drives rivalcfg's `Mouse` + `FakeDevice` over every PID × setting × representative
Expand Down
4 changes: 4 additions & 0 deletions src-tauri/resources/99-steelseries-rival.rules
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="183c", MODE="0666"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="183e", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="183e", MODE="0666"

# SteelSeries Rival Pro
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1880", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1880", MODE="0666"

# SteelSeries Rival 95
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1706", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1706", MODE="0666"
Expand Down
Loading
Loading