zenidrv-g203/README.md

33 lines
969 B
Markdown
Raw Normal View History

2018-02-01 22:15:52 +01:00
# Logitech G203 Prodigy Mouse LED control
2018-02-01 22:13:01 +01:00
2018-02-01 22:15:52 +01:00
Allows you to control the LED lighting of your G203 Prodigy Mouse programmatically.
2018-02-01 22:16:34 +01:00
Inspired by and based on [g810-led](https://github.com/MatMoul/g810-led).
2018-02-01 22:13:01 +01:00
## Requirements
- Python 3.5+
- PyUSB 1.0.2+
2018-02-01 22:13:33 +01:00
- **Root privileges**
2018-02-01 22:13:01 +01:00
## Installation
1) Clone the repository: `git clone https://github.com/smasty/g203-led.git`
2018-02-01 22:17:48 +01:00
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`
2018-02-01 22:13:01 +01:00
## 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
2018-02-04 14:22:38 +01:00
203-led intro {on|off} - Enable/disable startup effect
2018-02-01 22:13:01 +01:00
Arguments:
Color: RRGGBB (RGB hex value)
Rate: 100-60000 (Number of milliseconds. Default: 10000ms)
Brightness: 0-100 (Percentage. Default: 100%)""")
```