Skip to main content

Python Wrapper for Logitech LCD SDK

Project description

# GLCD SDK A Python wrapper for Logitech’s LCD SDK

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page