rivalcfg

repository·master·Indexed 21 days ago

https://github.com/flozz/rivalcfg

A Python-based tool and CLI utility for configuring SteelSeries gaming mice, including Rival, Sensei, Aerox, and Prime series, on Linux, macOS, and Windows. It provides functionality for mapping mouse buttons to keyboard keys or multimedia actions, configuring DPI sensitivity presets, and managing RGB lighting, including hexadecimal colors, named colors, and RGB gradients.

Tokens
22.8K
Snippets
114
Records
165
Agent score
75%

What's inside rivalcfg

  1. Overview of Rivalcfg

    master

    Rivalcfg is a Python library and a CLI utility program designed to configure SteelSeries gaming mice. It supports a wide range of devices including the Rival, Sensei, Aerox, and Prime series.

    Supported Platforms:

    • Linux
    • macOS
    • Windows
    • (Likely works on BSD, but untested)

    Disclaimer: This is unofficial software created via reverse engineering. It is not supported or approved by SteelSeries.

  2. Check supported SteelSeries devices

    master
    The rivalcfg project supports a wide range of SteelSeries gaming mice. Before attempting to configure a device, ensure it is listed in the supported devices documentation. Supported models include various versions of the Aerox, Kanav, Kinzu, Prime, Rival, Sensei, and more (both wired and wireless variants).
  3. Configure colors and lighting for SteelSeries Aerox 5

    master

    The Aerox 5 supports color customization and an onboard rainbow light effect.

    Important: On newer SteelSeries mice, color settings are not saved to the onboard memory; you must configure the 'Default Lighting' settings to ensure colors persist.

    Note: Enabling the onboard rainbow light effect will reset any custom color settings.

  4. How handlers work in device profiles

    master

    In rivalcfg, handlers are used to manage different types of settings within a device profile. Each handler is associated with a specific value_type. A handler module is responsible for two primary tasks:

    1. Value Transformation: Converting a user-provided input value into the specific byte format required by the device hardware via the process_value function.
    2. CLI Integration: Providing a standardized way to interact with the setting via the command line by generating a CLI option with built-in validation via the add_cli_option function.

    Common handler types include none, choice, range, rgbcolor, and various specialized RGB or DPI handlers.

  5. Configure Colors and Lighting for Aerox 5 Wireless

    master

    The Aerox 5 Wireless supports color customization and an onboard rainbow light effect.

    Key Considerations:

    • Onboard Memory: On newer SteelSeries mice like the Aerox 5, color settings are not saved in the onboard memory. You must configure the Default Lighting settings to ensure colors persist.
    • Rainbow Effect: The mouse features an onboard rainbow light effect. Note that enabling this effect will reset any custom color settings you have applied.
  6. Configure Colors and Lighting for Aerox 9 Wireless

    master

    The Aerox 9 Wireless supports color settings and a rainbow light effect.

    Important Notes:

    • Onboard Memory: On newer SteelSeries mice, color settings are no longer saved in the onboard memory. You should check the Default Lighting settings to ensure behavior persists.
    • Rainbow Effect: The mouse has an onboard rainbow light effect. Note that enabling this effect will reset any custom color settings you have applied.
  7. Configure colors and lighting for SteelSeries Aerox 3

    master

    The Aerox 3 supports color customization and a built-in rainbow light effect.

    Important: On newer SteelSeries mice, color settings are no longer saved to the onboard memory; you must configure the 'Default Lighting' to ensure settings persist or behave as expected.

    Rainbow Effect: The Aerox 3 has an onboard rainbow effect, but enabling or changing colors will reset this effect.