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/ |
D | touch_slider_example_main.c | 52 … 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/ |
D | touch_elements_example_main.c | 66 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/ |
D | test_touch_element.c | 327 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()
|
D | test_touch_slider.c | 87 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/ |
D | touch_slider.c | 389 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()
|