Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/touch_element/include/touch_element/
Dtouch_element_private.h103 te_button_state_t current_state; //Button current state member
124 te_slider_state_t current_state; //Slider current state member
155 te_matrix_state_t current_state; //Matrix button current state member
/hal_espressif-2.7.6/components/touch_element/
Dtouch_button.c128 te_button->current_state = TE_STATE_IDLE; in touch_button_create()
326 button_handle->current_state = TE_STATE_IDLE; in button_reset_state()
375 button_handle->current_state = button_get_state(button_handle->device); in button_proc_state()
377 if (button_handle->current_state == TE_STATE_PRESS) { in button_proc_state()
394 } else if (button_handle->current_state == TE_STATE_RELEASE) { in button_proc_state()
404 } else if (button_handle->current_state == TE_STATE_IDLE) { in button_proc_state()
411 button_handle->last_state = button_handle->current_state; in button_proc_state()
Dtouch_matrix.c152 te_matrix->current_state = TE_STATE_IDLE; in touch_matrix_create()
381 matrix_handle->current_state = TE_STATE_IDLE; in matrix_reset_state()
457 te_matrix_state_t last_state = matrix_handle->current_state; in matrix_pre_fixed()
573 matrix_handle->current_state = matrix_get_state(x_axis_state, y_axis_state); in matrix_proc_state()
575 if (matrix_handle->current_state == TE_STATE_PRESS) { in matrix_proc_state()
593 } else if (matrix_handle->current_state == TE_STATE_RELEASE) { in matrix_proc_state()
603 } else if (matrix_handle->current_state == TE_STATE_IDLE) { in matrix_proc_state()
610 matrix_handle->last_state = matrix_handle->current_state; in matrix_proc_state()
Dtouch_slider.c161 te_slider->current_state = TE_STATE_IDLE; in touch_slider_create()
383 slider_handle->current_state = TE_STATE_IDLE; in slider_reset_state()
433 …slider_handle->current_state = slider_get_state(slider_handle->device, slider_handle->channel_sum); in slider_proc_state()
435 if (slider_handle->current_state == TE_STATE_PRESS) { in slider_proc_state()
451 } else if (slider_handle->current_state == TE_STATE_RELEASE) { in slider_proc_state()
461 } else if (slider_handle->current_state == TE_STATE_IDLE) { in slider_proc_state()
475 slider_handle->last_state = slider_handle->current_state; in slider_proc_state()
Dtouch_element.c140 static void waterproof_guard_update_state(touch_pad_t current_channel, te_state_t current_state);
879 static void waterproof_guard_update_state(touch_pad_t current_channel, te_state_t current_state) in waterproof_guard_update_state() argument
883 guard_device->state = current_state; in waterproof_guard_update_state()