Home
last modified time | relevance | path

Searched refs:matrix_message (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_matrix/main/
Dtouch_matrix_example_main.c59 const touch_matrix_message_t *matrix_message = touch_matrix_get_message(&element_message); in matrix_handler_task() local
60 if (matrix_message->event == TOUCH_MATRIX_EVT_ON_PRESS) { in matrix_handler_task()
61 …x Press, axis: (%d, %d) index: %d", matrix_message->position.x_axis, matrix_message->position.y_ax… in matrix_handler_task()
62 } else if (matrix_message->event == TOUCH_MATRIX_EVT_ON_RELEASE) { in matrix_handler_task()
63 …Release, axis: (%d, %d) index: %d", matrix_message->position.x_axis, matrix_message->position.y_ax… in matrix_handler_task()
64 } else if (matrix_message->event == TOUCH_MATRIX_EVT_ON_LONGPRESS) { in matrix_handler_task()
65 …ngPress, axis: (%d, %d) index: %d", matrix_message->position.x_axis, matrix_message->position.y_ax… in matrix_handler_task()
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_element.c338 touch_matrix_message_t matrix_message = { in test_integrat_btn_sld_mat() local
344 …memcpy(valid_message.child_msg, &matrix_message, sizeof(matrix_message)); //Construct child messa… in test_integrat_btn_sld_mat()
346 …test_matrix_event_simulator(valid_message.handle, matrix_message.event, matrix_message.position.in… in test_integrat_btn_sld_mat()
364 touch_matrix_message_t matrix_message; in test_integrat_btn_sld_mat() local
365 matrix_message.event = TOUCH_MATRIX_EVT_ON_RELEASE; in test_integrat_btn_sld_mat()
366 memcpy(valid_message.child_msg, &matrix_message, sizeof(matrix_message)); in test_integrat_btn_sld_mat()
369 …test_matrix_event_simulator(valid_message.handle, matrix_message.event, matrix_message_ptr->positi… in test_integrat_btn_sld_mat()
Dtest_touch_matrix.c143 touch_matrix_message_t matrix_message = { in test_matrix_event_trigger_and_check() local
149 …memcpy(valid_message.child_msg, &matrix_message, sizeof(touch_matrix_message_t)); //Construct val… in test_matrix_event_trigger_and_check()
169 touch_matrix_message_t matrix_message = { in test_matrix_callback_trigger_and_check() local
175 …memcpy(valid_message.child_msg, &matrix_message, sizeof(touch_matrix_message_t)); //Construct val… in test_matrix_callback_trigger_and_check()
/hal_espressif-3.6.0/components/touch_element/
Dtouch_matrix.c387 touch_matrix_message_t matrix_message = { in matrix_event_give() local
394 memcpy(element_message.child_msg, &matrix_message, sizeof(matrix_message)); in matrix_event_give()