Home
last modified time | relevance | path

Searched refs:common_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/modules/lvgl/input/
Dlvgl_common_input.c21 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_get_indev() local
23 return common_data->indev; in lvgl_input_get_indev()
30 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_read_cb() local
33 memcpy(data, &common_data->previous_event, sizeof(lv_indev_data_t)); in lvgl_input_read_cb()
41 memcpy(&common_data->previous_event, data, sizeof(lv_indev_data_t)); in lvgl_input_read_cb()
51 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_register_driver() local
53 if (common_data == NULL) { in lvgl_input_register_driver()
57 common_data->indev = lv_indev_create(); in lvgl_input_register_driver()
59 if (common_data->indev == NULL) { in lvgl_input_register_driver()
63 lv_indev_set_type(common_data->indev, indev_type); in lvgl_input_register_driver()
[all …]
Dlvgl_pointer_input.c25 struct lvgl_common_input_data common_data; member
38 lv_point_t *point = &data->common_data.pending_event.point; in lvgl_pointer_process_event()
56 data->common_data.pending_event.state = in lvgl_pointer_process_event()
124 if (k_msgq_put(cfg->common_config.event_msgq, &data->common_data.pending_event, in lvgl_pointer_process_event()