LCD ReadButton

From Bennu Wiki
Revision as of 02:05, 2 October 2008 by Sandman (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Up to LCD.DLL Functions



Definition

INT LCD_ReadButton ( <INT device> , <INT button> )

Returns whether a button is being pressed on a device.

This also updates the button integer specified at LCD_Open().

Parameters

INT device - Number of the device.
INT button - Number of the button.

Returns

INT : LCD.DLL Errorcodes

TRUE - 1 - The button is being pressed.
FALSE - 0 - The button is not being pressed.
LCD_ERROR_SERVICEINACTIVE - -14 - The service is inactive.
LCD_ERROR_INVALIDPARAMETER - -22 - Invalid parameter.


LCD.DLL Functions
LCD_About()LCD_Close()LCD_Devices()LCD_GetDepth()LCD_GetHeight()LCD_GetNumButtons()LCD_GetWidth()LCD_Init()LCD_IntVersion()LCD_Open()LCD_Quit()LCD_ReadButton()LCD_ReadButtons()LCD_SetBitmap()LCD_Version()