Tizen HAL API  1.0
Touchscreen

The Touchscreen provides functions for getter/setter of touchscreen properties.

Required Header

#include <hal-device-touchscreen.h>

Overview

The Touchscreen provides the way to get or set touchscreen properties.

The Touchscreen functions provide touchscreen information including:

For more information on the Touchscreen features and the macros, see HAL Touchscreen programming guides and tutorials.

Typedefs

typedef struct
_hal_backend_device_touchscreen_funcs 
hal_backend_device_touchscreen_funcs
 Structure for Touchscreen functions.

Data Structure Documentation

struct _hal_backend_device_touchscreen_funcs

Structure for Touchscreen functions.

Since:
HAL_MODULE_DEVICE_TOUCHSCREEN 1.0

Data Fields

int(* get_state )(hal_device_touchscreen_state_e *state)
int(* set_state )(hal_device_touchscreen_state_e state)
int(* get_powersaving )(int *state)
int(* set_powersaving )(int state)
int(* glove_mode_get_state )(int *state)
int(* glove_mode_set_state )(int state)

Field Documentation

Get power saving state

Get touch sensitivity state

Set touch sensitivity state

Set power saving state


Typedef Documentation

Structure for Touchscreen functions.

Since:
HAL_MODULE_DEVICE_TOUCHSCREEN 1.0

Enumeration Type Documentation

Enumeration for Touchscreen sensitivity state.

Since:
HAL_MODULE_DEVICE_TOUCHSCREEN 1.0
Enumerator:
HAL_DEVICE_TOUCHSCREEN_GLOVE_MODE_OFF 

Disable glove mode

HAL_DEVICE_TOUCHSCREEN_GLOVE_MODE_ON 

Enable glove mode

Enumeration for Touchscreen state.

Since:
HAL_MODULE_DEVICE_TOUCHSCREEN 1.0
Enumerator:
HAL_DEVICE_TOUCHSCREEN_OFF 

Disable touchscreen

HAL_DEVICE_TOUCHSCREEN_ON 

Enable touchscreen