Keyboard back ground color


Hi,
how to change these keys bg color on the keyboard, see in the screen shot in red?

i think it have to modify the code of num_map
see as below:
// 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, 2,
// 1, 1, 1, 1, 1
// };
static const lv_btnmatrix_ctrl_t default_kb_ctrl_num_map = {
1, 1, 1, 2,
1, 1, 1, 2,
1, 1, 1, 2,
1, 1, 1, 1, 1
};

Hi,

You can style the keyboard’s special keys by setting style to CHACKED state and setting the STYLE (ITEMS) parameters.

1 Like