This wiki is out of date, use the continuation of this wiki instead

DLL:LCD.DLL

From FenixWiki

(Redirected from Lcddll)
Jump to: navigation, search

Up to DLL's



Contents

[edit] Definition

LCD.DLL is a DLL to communicate with the LCD Screen of the Logitech G15 keyboard. When Logitech makes other devices with LCD screens, this DLL will support them too.

Image:LCDsmall.jpg
LCD.DLL example

[edit] Features

  • Control of what is being shown on the LCD screen.
  • Read the state of the soft buttons on the LCD screen.

[edit] How to use

To be able to use it, you must include the LCD.DLL functionality:

include "LCD.fh";

First you initialize LCD.DLL:

LCD_Init("Fenix LCD");

Then open a connection an LCD screen device:

LCD_Open(0);

Now you can update the LCD screen and read the state of the buttons:

LCD_SetBitmap(0,LCD_PRIORITY_NORMAL,map_buffer(file,graph));
// Make sure (file,graph) is 160x43x8

[edit] Future

Depends on what Logitech will do.

[edit] Download

Here's the complete package containing a simple testprogram with commented source, the DLL, the sourcecode and full documentation:

[edit] Documentation

[edit] Links


LCD.DLL Documentation
MainFunctionsGlobalsDefinesErrorcodesChangelog
DLL's
Explosion.DLLGUI.DLLImage.DLLLCD.DLLLog.dllMPEG.DLLMixer.DLLNetwork.DLLTTF.DLL
Personal tools