Touch Panel Driver; Touch Panel Driver Apis; Function Specifications - Pro-face PS Series Developer's Manual

Type g application development kit (adk)
Table of Contents

Advertisement

PS Series Type G Application Development Kit (ADK) Developer Manual

5 Touch Panel Driver

The function of this driver is to enable/disable buzzer activation and input when the touch panel is
touched.

5.1 Touch Panel Driver APIs

API name
GetTouchDriverVersion Retrieves information on the driver version.
TouchDriverOpen
TouchDriverClose
SetTouchClickBuzzer
GetTouchClickBuzzer
SetTouchInput
GetTouchInput

5.2 Function Specifications

GetTouchDriverVersion
Call format
BOOL WINAPI GetTouchDriverVersion (WORD *pMajor, WORD *pMinor)
Return value
TRUE: Normal
FALSE: Error
Argument
WORD *pMajor
WORD *pMinor
Processing performed
Retrieves information on the driver version.
E.g.) BOOL ret = GetTouchDriverVersion (WORD &Major, WORD &Minor);
Note
When the driver version is 1.10,
Major is 1 (in decimal) and;
Minor is 10 (in decimal).
3-46
Opens the touch panel driver.
Closes the touch panel driver.
Enables/disables the buzzer when the touch
panel is touched.
Retrieves the setting for buzzer activation
when the touch panel is touched.
Enables/disables input when the touch panel
is touched.
Retrieves the setting for input when the touch
panel is touched.
Pointer to the version information (Major, 0 to 99)
Pointer to the version information (Minor, 0 to 99)
Description

Advertisement

Table of Contents
loading

Table of Contents