All Projects → MatMoul → g810-led-python

MatMoul / g810-led-python

Licence: GPL-3.0 license
Old Linux led controller for the Logitech G810 Keyboard

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to g810-led-python

Libusb
A cross-platform library to access USB devices
Stars: ✭ 3,482 (+28916.67%)
Mutual labels:  libusb
Moolticute
Mooltipass crossplatform daemon/tools
Stars: ✭ 82 (+583.33%)
Mutual labels:  libusb
Qtusb
A cross-platform USB Module for Qt.
Stars: ✭ 245 (+1941.67%)
Mutual labels:  libusb
Hidviz
A tool for in-depth analysis of USB HID devices communication
Stars: ✭ 505 (+4108.33%)
Mutual labels:  libusb
Usb4java Javax
javax.usb extension for usb4java
Stars: ✭ 47 (+291.67%)
Mutual labels:  libusb
Airspyone host
AirSpy's usemode driver and associated tools
Stars: ✭ 173 (+1341.67%)
Mutual labels:  libusb
exodriver
The official LabJack Linux and Mac OS X USB driver
Stars: ✭ 45 (+275%)
Mutual labels:  libusb
cabl
Controller ABstraction Layer
Stars: ✭ 111 (+825%)
Mutual labels:  libusb
Libcorsairrgb
⌨️ Windows library for controlling lights on Corsair RGB keyboards
Stars: ✭ 52 (+333.33%)
Mutual labels:  libusb
Usb4java
USB library for Java based on libusb
Stars: ✭ 240 (+1900%)
Mutual labels:  libusb
Simplert
Simple Reverse Tethering utility for Android
Stars: ✭ 803 (+6591.67%)
Mutual labels:  libusb
Uhubctl
uhubctl - USB hub per-port power control
Stars: ✭ 1,036 (+8533.33%)
Mutual labels:  libusb
Usbdk
Usb Drivers Development Kit for Windows
Stars: ✭ 181 (+1408.33%)
Mutual labels:  libusb
Device.net
A C# cross platform connected device framework
Stars: ✭ 347 (+2791.67%)
Mutual labels:  libusb
stlink-tool
Firmware uploader for ST-Link
Stars: ✭ 49 (+308.33%)
Mutual labels:  libusb
ccid-utils
A USB smartcard driver including GSM SIM and EMV credit/debit card development platforms
Stars: ✭ 37 (+208.33%)
Mutual labels:  libusb
Potatonv
Unlock bootloader of Huawei devices on Kirin 960/659
Stars: ✭ 132 (+1000%)
Mutual labels:  libusb
libusb-win32
libusb-win32 project official github repo
Stars: ✭ 44 (+266.67%)
Mutual labels:  libusb
libusb
Go bindings for the C libusb library.
Stars: ✭ 74 (+516.67%)
Mutual labels:  libusb
Nitrokey App
Nitrokey's Application (Win, Linux, Mac)
Stars: ✭ 210 (+1650%)
Mutual labels:  libusb

g810-led-python

Old Linux led controller for the Logitech G810 Keyboard

This is my first code for reverse engineering of the G810.

This project is now unmaintained but it's a good tutorial for sendind USB raw data in Python.

Please check for the new C++ version here: https://github.com/MatMoul/g810-led




Work only as root or with sudo.

Dependencies :

  • Python2
  • pyusb make sure you install PyUSB v1.0.0:

On Debian / Ubuntu derivatives:

apt-get install python-pip

pip install pyusb # (PyUSB-1.0.0.tar.gz)

Use :
g810-led {key} {color}
g810-led {profilefile}

Samples :
g810-led F1 ff0000
g810-led /etc/g810-led/profile1
g810-led sampleprofile1 g810-led sampleprofile2

Install (Copy g810-led in /usr/bin) :
cp g810-led /usr/bin

Profiles :
mkdir /etc/g810-led
cp sampleprofile1 /etc/g810-led/profile

SystemD unit in Arch Linux (For set profile at boot time) :
cat << EOF > /usr/lib/systemd/system/g810-led.service
[Unit]
Description=Set Logitech G810 Led Profile

[Service]
ExecStart=/bin/g810-led /etc/g810-led/profile

[Install]
WantedBy=multi-user.target
EOF

systemctl start g810-led
systemctl enable g810-led

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].