- This wiki is out of date, use the continuation of this wiki instead
LCD DLL
From FenixWiki
(Difference between revisions)
Revision as of 22:21, 26 December 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 22:23, 26 December 2007 (edit) (undo) Sandman (Talk | contribs) m (→How to use) Next diff → |
||
Line 18: | Line 18: | ||
First you initialize LCD.DLL: | First you initialize LCD.DLL: | ||
<pre>LCD_Init("Fenix LCD");</pre> | <pre>LCD_Init("Fenix LCD");</pre> | ||
+ | Then open a connection an LCD screen device: | ||
+ | <pre>LCD_Open(0);</pre> | ||
Now you can update the LCD screen and read the state of the buttons: | Now you can update the LCD screen and read the state of the buttons: | ||
<pre>LCD_SetBitmap(0,LCD_PRIORITY_NORMAL,map_buffer(file,graph)); | <pre>LCD_SetBitmap(0,LCD_PRIORITY_NORMAL,map_buffer(file,graph)); | ||
// Make sure (file,graph) is 160x43x8</pre> | // Make sure (file,graph) is 160x43x8</pre> | ||
+ | |||
== Future == | == Future == | ||
Depends on what Logitech will do. | Depends on what Logitech will do. |
Revision as of 22:23, 26 December 2007
Contents |
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.
Features
- Control of what is being shown on the LCD screen.
- Read the state of the soft buttons on the LCD screen.
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
Future
Depends on what Logitech will do.
Download
Here's the complete package containing a simple testprogram with commented source, the DLL, the sourcecode and full documentation:
- LCD.DLL v1.03 for Fenix 0.83b
- LCD.DLL v1.03 for Fenix 0.84a
- LCD.DLL v1.03 for Fenix 0.92a (also 0.93 and before 0.92a)
- LCD Pong
Coming soon...
Documentation
Links
LCD.DLL Documentation | |
Main • Functions • Globals • Defines • Errorcodes • Changelog |
DLL's | |
• Explosion.DLL • GUI.DLL • Image.DLL • LCD.DLL • Log.dll • MPEG.DLL • Mixer.DLL • Network.DLL • TTF.DLL • |
Categories: Dll | Lcddll