GLCD_SDK

Python Wrapper for Logitech LCD SDK


License
MPL-2.0
Install
pip install GLCD_SDK==0.0.1

Documentation

GLCD SDK Build Travis

A Python wrapper for Logitech's LCD SDK

Screenshot

Screenshot1 Screenshot2

Requirement

  • A Logitech periphral with an LCD (G19,G510,G13,G15 ...)
  • Logitech Gaming Software
  • LCDSDK for Logitech (Version 8.57.148 or newer)

##Instalation Use package installer on Pypi.

Usage

First load the LogitechLcdEnginesWrapper dll

GLCD_SDK.initDLL("C:\\Program Files\\Logitech Gaming Software\\LCDSDK\\LCDSDK_8.57.148\\Lib\\GameEnginesWrapper\\x86\\LogitechLcdEnginesWrapper.dll")

All function have the same name SDK. Except for Constants. Read LCDSDK_#.##.###\Doc\LogitechGamingLCDSDK.pdf

import GLCD_SDK, time
GLCD_SDK.initDLL("C:\\Program Files\\Logitech Gaming Software\\LCDSDK\\LCDSDK_8.57.148\\Lib\\GameEnginesWrapper\\x86\\LogitechLcdEnginesWrapper.dll")
GLCD_SDK.LogiLcdInit("Python",GLCD_SDK.TYPE_COLOR+GLCD_SDK.TYPE_MONO)
GLCD_SDK.LogiLcdColorSetText(0,"Python"+platform.python_version(),255,255,255)
GLCD_SDK.LogiLcdUpdate()
time.sleep(5)
GLCD_SDK.LogiLcdShutdown()

A bonus fonction to display PIL image on screen

GLCD_SDK.ColorBGPIL(im)