Tizen HAL API  1.0
Input

The Input provides functions for setting input device event.

Required Header

#include <hal-device-input.h>

Overview

The Input provides the way to enable/disable input events from kernel.

The Input functions provide input control including:

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

Typedefs

typedef struct
_hal_backend_device_input_funcs 
hal_backend_device_input_funcs
 Structure for Input functions.

Data Structure Documentation

struct _hal_backend_device_input_funcs

Structure for Input functions.

Since:
HAL_MODULE_DEVICE_INPUT 1.0

Data Fields

int(* set_event_state )(int input_device_id, int on)
int(* get_event_state )(int input_device_id, int *on)

Field Documentation

int(* _hal_backend_device_input_funcs::get_event_state)(int input_device_id, int *on)

Get event state

int(* _hal_backend_device_input_funcs::set_event_state)(int input_device_id, int on)

Set event state


Typedef Documentation

Structure for Input functions.

Since:
HAL_MODULE_DEVICE_INPUT 1.0

Enumeration Type Documentation

Enumeration for the type of input devices.

Since:
HAL_MODULE_DEVICE_INPUT 1.0
Enumerator:
HAL_DEVICE_INPUT_TYPE_UNKNOWN 

Input device type which is not defined.

HAL_DEVICE_INPUT_TYPE_ALL 

Input device type which is all kinds of input devices

HAL_DEVICE_INPUT_TYPE_MOUSE 

Input device type which is mouse-type

HAL_DEVICE_INPUT_TYPE_KEYBOARD 

Input device type which is keyboard-type

HAL_DEVICE_INPUT_TYPE_TOUCHSCREEN 

Input device type which is touchscreen-type

HAL_DEVICE_INPUT_TYPE_CUSTOM_KNOB 

Input device type which is customed knob-type