Custom keyboard number input lvgl

hi all,
in eez studio I define a keypad but I would like customize and I use the following lines in setup() function

static const char * const kb_map[] = {"1", "2", "3","\n",
                                                    "4", "5", "6","\n",
                                                    "7", "8", "9","\n",
                                                    LV_SYMBOL_BACKSPACE, "0", LV_SYMBOL_OK
                                                  };

  static const lv_btnmatrix_ctrl_t ctrl_num_map[] = {
      (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1,
      (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1,
      (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1,
      (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1, (lv_buttonmatrix_ctrl_t) 1,
  };
  lv_keyboard_set_map(objects.keypad_litri, LV_KEYBOARD_MODE_USER_1, kb_map,ctrl_num_map);
  lv_keyboard_set_mode(objects.keypad_litri, LV_KEYBOARD_MODE_USER_1);

after uploaded on device, it start blinking casual colors. How can I custom the keypad in correct way with the buttons I desire?
many thanks

You will need to show a wiring diagram.

thank you very much. I'm sorry I didn't clarify that is a apes32 with touch integrated. if I remove the line before from code, the screen works correctly.

the main purpose is to customize the keypad of lvgl 9.0 version because I just want numbers and back and OK button. nothing more. I try to follow some tutorials but I cannot reach my purpose.
Can you help me in software side?
many thanks

I don't know what objects.keypad_litri in EEZ studio is, but maybe this will help?

you are right. for me the keyboard_litri is the name of keyboard create in eez studio. When I try to recall the object from arduino code, I use objects.keyboard_litri