diff --git a/docs/src/details/main-modules/indev.rst b/docs/src/details/main-modules/indev.rst index bfe447b343..132d90e778 100644 --- a/docs/src/details/main-modules/indev.rst +++ b/docs/src/details/main-modules/indev.rst @@ -639,13 +639,6 @@ The default value of the following parameters can be changed in :cpp:type:`lv_in can be changed by calling ``lv_timer_...()`` functions. :c:macro:`LV_DEF_REFR_PERIOD` in ``lv_conf.h`` sets the default read period. -Feedback --------- - -Besides ``read_cb`` a ``feedback_cb`` callback can be also specified in -:cpp:type:`lv_indev_t`. ``feedback_cb`` is called when any type of event is sent -by input devices (independently of their type). This allows generating feedback for the user, e.g., to play a sound on :cpp:enumerator:`LV_EVENT_CLICKED`. - Buffered Reading ---------------- diff --git a/src/core/lv_obj_event.c b/src/core/lv_obj_event.c index c785e2333e..6022615ae4 100644 --- a/src/core/lv_obj_event.c +++ b/src/core/lv_obj_event.c @@ -354,7 +354,6 @@ static lv_result_t event_send_core(lv_event_t * e) { LV_TRACE_EVENT("Sending event %d to %p with %p param", e->code, (void *)e->original_target, e->param); - /*Call the input device's feedback callback if set*/ lv_indev_t * indev_act = lv_indev_active(); if(indev_act) { if(e->stop_processing) return LV_RESULT_OK;