TftTouchGetCoordinates()

Library Description ›› Touch ››
 visits
Parent Previous Next

Syntax

TftTouchGetCoordinates(pMode As Bit), Bit

Parameters

Parameter

Description

pMode

Low Pass Filter Setting
1 = Use Low Pass Filter
0 = Do not use Low Pass Filter

Return Bit

Valid Coordinates
1 = Valid
0 = Not Valid

Overview

This procedure returns the Touch-to-Screen equivalent coordinates, which are placed into two global variables: wTouchToPointX and wTouchToPointY.

Low Pass Filter vs. No Filter:

Low Pass Filter Mechanics:

The return value indicates whether a touch reading was obtained and the calibrated coordinates are within the usable screen bounds.

Example

TftTouchGetCoordinates(1)

Created with the Personal Edition of HelpNDoc: Ensure High-Quality Documentation with HelpNDoc's Hyperlink and Library Item Reports