Home
last modified time | relevance | path

Searched refs:slider_message (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_slider/main/
Dtouch_slider_example_main.c52 … const touch_slider_message_t *slider_message = touch_slider_get_message(&element_message); in slider_handler_task() local
53 if (slider_message->event == TOUCH_SLIDER_EVT_ON_PRESS) { in slider_handler_task()
54 ESP_LOGI(TAG, "Slider Press, position: %d", slider_message->position); in slider_handler_task()
55 } else if (slider_message->event == TOUCH_SLIDER_EVT_ON_RELEASE) { in slider_handler_task()
56 ESP_LOGI(TAG, "Slider Release, position: %d", slider_message->position); in slider_handler_task()
57 } else if (slider_message->event == TOUCH_SLIDER_EVT_ON_CALCULATION) { in slider_handler_task()
58 ESP_LOGI(TAG, "Slider Calculate, position: %d", slider_message->position); in slider_handler_task()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/main/
Dtouch_elements_example_main.c66 const touch_slider_message_t *slider_message = touch_slider_get_message(&element_message); in slider_handler() local
67 if (slider_message->event == TOUCH_SLIDER_EVT_ON_PRESS) { in slider_handler()
68 ESP_LOGI(TAG, "Slider Press, position: %d", slider_message->position); in slider_handler()
69 } else if (slider_message->event == TOUCH_SLIDER_EVT_ON_RELEASE) { in slider_handler()
70 ESP_LOGI(TAG, "Slider Release, position: %d", slider_message->position); in slider_handler()
71 } else if (slider_message->event == TOUCH_SLIDER_EVT_ON_CALCULATION) { in slider_handler()
72 ESP_LOGI(TAG, "Slider Calculate, position: %d", slider_message->position); in slider_handler()
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_element.c327 touch_slider_message_t slider_message = { in test_integrat_btn_sld_mat() local
331 …memcpy(valid_message.child_msg, &slider_message, sizeof(slider_message)); //Construct child messa… in test_integrat_btn_sld_mat()
333 test_slider_event_simulator(valid_message.handle, slider_message.event, 1); in test_integrat_btn_sld_mat()
358 touch_slider_message_t slider_message; in test_integrat_btn_sld_mat() local
359 slider_message.event = TOUCH_SLIDER_EVT_ON_RELEASE; in test_integrat_btn_sld_mat()
360 memcpy(valid_message.child_msg, &slider_message, sizeof(slider_message)); in test_integrat_btn_sld_mat()
362 test_slider_event_simulator(valid_message.handle, slider_message.event, 1); in test_integrat_btn_sld_mat()
Dtest_touch_slider.c87 touch_slider_message_t slider_message; in test_slider_event_trigger_and_check() local
90 slider_message.event = slider_event; in test_slider_event_trigger_and_check()
91 memcpy(valid_message.child_msg, &slider_message, sizeof(touch_slider_message_t)); in test_slider_event_trigger_and_check()
106 touch_slider_message_t slider_message = { in test_slider_callback_trigger_and_check() local
110 …memcpy(valid_message.child_msg, &slider_message, sizeof(touch_slider_message_t)); //Construct val… in test_slider_callback_trigger_and_check()
/hal_espressif-3.6.0/components/touch_element/
Dtouch_slider.c389 touch_slider_message_t slider_message = { in slider_event_give() local
396 memcpy(element_message.child_msg, &slider_message, sizeof(slider_message)); in slider_event_give()