[][src]Module lvgl::hal::indev

Contains Rust bindings for LVGL HAL Indev API lv_indev

Structs

__BindgenBitfieldUnit
_disp_t
_lv_group_t
_lv_indev_drv_t

Initialized by the user and registered by 'lv_indev_add()'

_lv_indev_proc_t

Run time data of input devices Internally used by the library, you should not need to touch it.

_lv_indev_proc_t__bindgen_ty_1__bindgen_ty_1
_lv_indev_proc_t__bindgen_ty_1__bindgen_ty_2
_lv_indev_t

The main input device descriptor with driver, runtime data ('proc') and some additional information

_lv_task_t

TYPEDEFS

lv_indev_data_t

Data structure passed to an input driver to fill

lv_point_t

Represents a point on the screen.

Constants

LV_INDEV_DEF_DRAG_LIMIT
LV_INDEV_DEF_DRAG_THROW
LV_INDEV_DEF_GESTURE_LIMIT
LV_INDEV_DEF_GESTURE_MIN_VELOCITY
LV_INDEV_DEF_LONG_PRESS_REP_TIME
LV_INDEV_DEF_LONG_PRESS_TIME
LV_INDEV_DEF_READ_PERIOD
LV_INDEV_STATE_PR
LV_INDEV_STATE_REL
LV_INDEV_TYPE_BUTTON

< External (hardware button) which is assigned to a specific point of the screen

LV_INDEV_TYPE_ENCODER

< Encoder with only Left, Right turn and a Button

LV_INDEV_TYPE_KEYPAD

< Keypad or keyboard

LV_INDEV_TYPE_NONE

< Uninitialized state

LV_INDEV_TYPE_POINTER

< Touch pad, mouse, external button

Functions

drv_init

Initialize an input device driver with default values. It is used to surly have known values in the fields ant not memory junk. After it you can set the fields.

drv_register

Register an initialized input device driver.

drv_update

Update the driver in run time.

get_next

Get the next input device.

Type Definitions

_bindgen_ty_4

Possible input device types

_bindgen_ty_5

States for input devices

lv_coord_t
lv_drag_dir_t
lv_gesture_dir_t
lv_indev_drv_t
lv_indev_drv_user_data_t
lv_indev_proc_t
lv_indev_state_t
lv_indev_t
lv_indev_type_t
lv_task_cb_t

Tasks execute this type type of functions.

lv_task_t

Unions

_lv_indev_proc_t__bindgen_ty_1