Keyboard Custom Modes

Description

Trying to have in-build custom keyboard modes I can use in Square Line Studio. How do I use the user mode format? Where do I create these keyboards templates?

What MCU/Processor/Board and compiler are you using?

ESP32-S3

What LVGL version are you using?

8.3

What do you want to achieve?

Square Line Studio has a drop-down menu for keyboard modes. I want to know whether it is possible to have templates for the “User X” modes.

What have you tried so far?

Changing the Number layout inside the “\lvgl\src\extra\widgets\keyboard\lv_keyboard.c” file, to see whether it takes effect inside Square Line. It didn’t.

Code to reproduce

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

static const lv_btnmatrix_ctrl_t default_kb_ctrl_num_map[] = {1, 1, 1, LV_KEYBOARD_CTRL_BTN_FLAGS | 2,
                                                              1, 1, 1, LV_KEYBOARD_CTRL_BTN_FLAGS | 2,
                                                              1, 1, 1,
                                                              1, 1, 1};

Screenshot and/or video