Logitech G203 Prodigy/LightSync Mouse LED/DPI/Polling-Rate control for Linux (GUI).
Go to file
2021-05-08 12:19:29 +01:00
g203-led.py Added support for Lightsync variant in parallel with Prodigy. Also added DPI setting which is useful although admittedly not a color. Almost fully backwards compatible with existing script. A new mode lightsync is used to control a Lightsync mouse. The only breaking change is to move the rate lower limit from 100ms to 1000ms. This is due to my concern of flashing too quickly possibly affecting photo-sensitive people. Also, from testing with the lightsync mouse, ~250ms is the lower practical limit on the cycle effect to avoid the colors blurring together into a flashy white. Lastly, the Lightsync mouse has its onboard memory handled differently. It is on by default and must be disabled to receive any color commands (other than the triple color command which works anyway). I have not yet implemented the ability to change values in the onboard memory. 2021-05-08 12:19:29 +01:00
LICENSE Initial commit 2018-02-01 22:02:48 +01:00
README.md Update README.md 2020-12-16 22:00:59 +01:00
requirements.txt Add implementation 2018-02-01 22:04:47 +01:00

Logitech G203 Prodigy Mouse LED control

Allows you to control the LED lighting of your G203 Prodigy Mouse programmatically. Inspired by and based on g810-led.

It does not work as-is with the new G203 Lightsync Mouse.

Requirements

  • Python 3.5+
  • PyUSB 1.0.2+
  • Root privileges

Installation

  1. Clone the repository: git clone https://github.com/smasty/g203-led.git
  2. Prepare virtualenv: virtualenv ./env
  3. Install dependencies: env/bin/pip install -r requirements.txt
  4. Run (as root): sudo ./g203-led.py solid 00FFFF

Usage

Usage:
    g203-led solid {color} - Solid color mode
    g203-led cycle [{rate} [{brightness}]] - Cycle through all colors
    g203-led breathe {color} [{rate} [{brightness}]] - Single color breathing
    g203-led intro {on|off} - Enable/disable startup effect

Arguments:
    Color: RRGGBB (RGB hex value)
    Rate: 100-60000 (Number of milliseconds. Default: 10000ms)
    Brightness: 0-100 (Percentage. Default: 100%)