Skip to content
/ g403-led Public
forked from smasty/g203-led

Logitech G403 Mouse LED control for Linux

License

Notifications You must be signed in to change notification settings

cg3/g403-led

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logitech G403 Mouse LED control

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

Requirements

  • Python 3.5+
  • PyUSB 1.0.2+
  • Root privileges

Installation

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

Usage

Usage:
    g403-led solid {color} - Solid color mode
    g403-led cycle [{rate} [{brightness}]] - Cycle through all colors
    g403-led breathe {color} [{rate} [{brightness}]] - Single color breathing
    g403-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%)

About

Logitech G403 Mouse LED control for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%