mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
indev feedback: update signal names
This commit is contained in:
parent
4c0cd82d9c
commit
e5f449e74f
@ -1813,7 +1813,7 @@ static lv_res_t lv_obj_signal(lv_obj_t * obj, lv_signal_t sign, void * param)
|
||||
|
||||
lv_indev_t *indev_act = lv_indev_get_act();
|
||||
|
||||
if(sign > LV_INDEV_SIGNAL_START && sign < LV_INDEV_SIGNAL_END) {
|
||||
if(sign > _LV_SIGNAL_FEEDBACK_SECTION_START && sign < _LV_SIGNAL_FEEDBACK_SECTION_END) {
|
||||
if(indev_act != NULL && indev_act->feedback != NULL)
|
||||
indev_act->feedback(indev_act, sign);
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ enum
|
||||
LV_SIGNAL_REFR_EXT_SIZE,
|
||||
LV_SIGNAL_GET_TYPE,
|
||||
|
||||
LV_INDEV_SIGNAL_START,
|
||||
_LV_SIGNAL_FEEDBACK_SECTION_START,
|
||||
/*Input device related*/
|
||||
LV_SIGNAL_PRESSED,
|
||||
LV_SIGNAL_PRESSING,
|
||||
@ -102,12 +102,12 @@ enum
|
||||
LV_SIGNAL_LONG_PRESS_REP,
|
||||
LV_SIGNAL_DRAG_BEGIN,
|
||||
LV_SIGNAL_DRAG_END,
|
||||
LV_INDEV_SIGNAL_END,
|
||||
|
||||
/*Group related*/
|
||||
LV_SIGNAL_FOCUS,
|
||||
LV_SIGNAL_DEFOCUS,
|
||||
LV_SIGNAL_CONTROLL,
|
||||
_LV_SIGNAL_FEEDBACK_SECTION_END,
|
||||
LV_SIGNAL_GET_EDITABLE,
|
||||
};
|
||||
typedef uint8_t lv_signal_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user