https://github.com/espenoh/logiled-ahk
Logitech LED SDK wrapper for AutoHotKey
https://github.com/espenoh/logiled-ahk
autohotkey autohotkey-script keyboards led-controlling logitech-keyboards
Last synced: 5 months ago
JSON representation
Logitech LED SDK wrapper for AutoHotKey
- Host: GitHub
- URL: https://github.com/espenoh/logiled-ahk
- Owner: espenoh
- Created: 2017-07-20T20:46:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T21:10:58.000Z (almost 9 years ago)
- Last Synced: 2025-05-31T16:27:20.072Z (about 1 year ago)
- Topics: autohotkey, autohotkey-script, keyboards, led-controlling, logitech-keyboards
- Language: AutoHotkey
- Size: 11.7 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LogiLED-AHK
Simple Logitech LED SDK wrapper for AutoHotKey. The sample code dims all keys to user set level, and then shows the status of the lock-keys (Caps/Num/Scroll) by lighting up the keys. If you set the initial intesity to `0` not even the status indicator lights on the keyboard will light up.
**Note this script was made for a G610 which does *not* have RGB lightning. As such the values are set using only the red color channel, as that will control the intesity on single-color keyboards. To use this on a RGB board some tweaking of the values to make sane colors are probably needed.**
## How to run
* Be sure [AutoHotKey](https://www.google.com) is installed.
* Have both the `LogiLED.ahk` and `LogitechLedEnginesWrapper.dll` file in the same folder
* Double click `.ahk` file
## DLL file
The DLL is taken directly from the Logitech SDK. I used the one targeting external game engines, as the the other ones (static `.lib` version and the JNI version for Java) did not seem to work properly with AHK. Note if you need a newer version, or just want the official version directly, the DLL can be downloaded from the [Logitech G Developer Lab](http://gaming.logitech.com/en-us/developers)