Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_matrix.c419 static void matrix_scan_axis(te_matrix_handle_t matrix_handle, touch_matrix_position_t *press_pos, in matrix_scan_axis() argument
422 press_pos->x_axis = TE_MAT_POS_MAX; in matrix_scan_axis()
423 press_pos->y_axis = TE_MAT_POS_MAX; in matrix_scan_axis()
430 press_pos->x_axis = idx; //Write down the x axis info in matrix_scan_axis()
432press_pos->y_axis = idx - matrix_handle->x_channel_num; //Write down the y axis info in matrix_scan_axis()
453 static void matrix_pre_fixed(te_matrix_handle_t matrix_handle, touch_matrix_position_t *press_pos, in matrix_pre_fixed() argument
491 if (press_pos->x_axis != TE_MAT_POS_MAX && press_pos->x_axis != last_pos.x_axis) { in matrix_pre_fixed()
492 device = matrix_handle->device[press_pos->x_axis]; in matrix_pre_fixed()
495 if (press_pos->y_axis != TE_MAT_POS_MAX && press_pos->y_axis != last_pos.y_axis) { in matrix_pre_fixed()
496 device = matrix_handle->device[press_pos->y_axis + matrix_handle->x_channel_num]; in matrix_pre_fixed()
[all …]