Package ilcd
Class General

Public Method getTouchScreenType

static int getTouchScreenType()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
type type of touch screen

Returns the type of the currently mounted touch screen. Possible touch screens are listed in the table type below.

type
TOUCH_SCREEN_NOT_MOUNTED
TOUCH_SCREEN_RESISTIVE_MOUNTED
TOUCH_SCREEN_CAPACITIVE_MOUNTED

Example

(General.General.getTouchScreenType() == General.TOUCH_SCREEN_CAPACITIVE_MOUNTED)

If this expression evaluates to true, the used iLCD has a capacitive touch screen mounted.

See also:

Touch