Control your Logitech devices from a Delphi application.
This repo provices a library to do things like setting LED colors of a logitech keyboard.
There are also two example applications that demonstrate how to use it:
-
Logi_SetTargetZone_Sample_Delphi.dpr This is a port of the C++ and C# demo that comes with the SDK It sets the keys L,O,G,I to the color cyan.
-
KnightRider.dpr This animates the number key row with a red glow for a couple of seconds.
This library wraps LogitechLedEnginesWrapper.dll. It comes with the G SDK (see https://www.logitechg.com/en-us/innovation/developer-lab.html) There are also more details there on the library's interface.
- Include LogitechSDK.pas in your Delphi application.
- Make sure that LogitechLedEnginesWrapper.dll can be found by the executable.
- Initialize with LogiLedInitWithName.
- Do your thing.
- Call LogiLedShutdown upon closing.