My touch button does not work

tips:
My LVGL library version is lvgl v7.11.0
My touch screen isTFT(ILI9341)
My touch chip is XPT2046
Hardware driver tests are good

I transplanted lvgl on the debugged stm32 project,Display is good,but,Touch is invalid。
The example I used is lv_ex_btn_1();

//===========================================
static void event_handler(lv_obj_t * obj, lv_event_t event)
{
if(event == LV_EVENT_CLICKED) {
printf(“Clicked\n”);
}
else if(event == LV_EVENT_VALUE_CHANGED) {
printf(“Toggled\n”);
}
}

void lv_ex_btn_1(void)
{
lv_obj_t * label;

lv_obj_t * btn1 = lv_btn_create(lv_scr_act(), NULL);
lv_obj_set_event_cb(btn1, event_handler);
lv_obj_align(btn1, NULL, LV_ALIGN_CENTER, 0, -40);

label = lv_label_create(btn1, NULL);
lv_label_set_text(label, "Button");

lv_obj_t * btn2 = lv_btn_create(lv_scr_act(), NULL);
lv_obj_set_event_cb(btn2, event_handler);
lv_obj_align(btn2, NULL, LV_ALIGN_CENTER, 0, 40);
lv_btn_set_checkable(btn2, true);
lv_btn_toggle(btn2);
lv_btn_set_fit2(btn2, LV_FIT_NONE, LV_FIT_TIGHT);

label = lv_label_create(btn2, NULL);
lv_label_set_text(label, "Toggled");

}

//==============================================
When I click the button, nothing changes。When i click the button on the screen,the touch coordinates are output。

I found through hardware device simulation that the button’s callback function was not triggered: