Giter Site home page Giter Site logo

g203-led's Introduction

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%)

g203-led's People

Contributors

smasty avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.