Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_matrix.c37 static inline te_state_t matrix_get_state(te_matrix_state_t x_axis_state, te_matrix_state_t y_axis_…
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
510 *x_axis_state = TE_STATE_PRESS; in matrix_get_axis_state()
519 *x_axis_state = TE_STATE_RELEASE; in matrix_get_axis_state()
549 te_matrix_state_t x_axis_state = TE_STATE_IDLE; in matrix_proc_state() local
567 …ret = matrix_get_axis_state(&press_pos, press_cnt, &release_pos, release_cnt, &x_axis_state, &y_ax… in matrix_proc_state()
573 matrix_handle->current_state = matrix_get_state(x_axis_state, y_axis_state); in matrix_proc_state()
614 static inline te_state_t matrix_get_state(te_matrix_state_t x_axis_state, te_matrix_state_t y_axis_… 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()