Searched refs:y_axis_state (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/components/touch_element/ |
D | touch_matrix.c | 37 …inline te_state_t matrix_get_state(te_matrix_state_t x_axis_state, te_matrix_state_t y_axis_state); 505 … uint8_t release_cnt, te_matrix_state_t *x_axis_state, te_matrix_state_t *y_axis_state) in matrix_get_axis_state() argument 511 *y_axis_state = TE_STATE_PRESS; in matrix_get_axis_state() 520 *y_axis_state = TE_STATE_RELEASE; in matrix_get_axis_state() 550 te_matrix_state_t y_axis_state = TE_STATE_IDLE; in matrix_proc_state() local 567 …rix_get_axis_state(&press_pos, press_cnt, &release_pos, release_cnt, &x_axis_state, &y_axis_state); in matrix_proc_state() 573 matrix_handle->current_state = matrix_get_state(x_axis_state, y_axis_state); in matrix_proc_state() 614 … inline te_state_t matrix_get_state(te_matrix_state_t x_axis_state, te_matrix_state_t y_axis_state) in matrix_get_state() argument 617 if ((x_axis_state == TE_STATE_PRESS) && (y_axis_state == TE_STATE_PRESS)) { in matrix_get_state() 619 } else if ((x_axis_state == TE_STATE_RELEASE) && (y_axis_state == TE_STATE_RELEASE)) { in matrix_get_state()
|