PebbleOS
Loading...
Searching...
No Matches
Modules | Functions
Touch sensor

Touchscreen controller driver interface. More...

Modules

 CST816
 Hynitron CST816 touch controller board configuration.
 

Functions

void touch_sensor_init (void)
 Initialize the touch sensor.
 
void touch_sensor_set_enabled (bool enabled)
 Enable or disable the touch sensor.
 

Detailed Description

Touchscreen controller driver interface.

Touch events are reported to the touch service.

Function Documentation

◆ touch_sensor_init()

void touch_sensor_init ( void  )

Initialize the touch sensor.

Called once at startup.

◆ touch_sensor_set_enabled()

void touch_sensor_set_enabled ( bool  enabled)

Enable or disable the touch sensor.

While disabled, no touch events are reported.

Parameters
enabledtrue to enable.