lv_lib_100ask icon indicating copy to clipboard operation
lv_lib_100ask copied to clipboard

Keypad input integration

Open everedero opened this issue 1 year ago • 1 comments

Hi! I have been using the 2048 app with Zephyr RTOS on a board with keypad buttons.

In order to make it work, I had to add an object group (lv_group_t ), as mentionned in LVGL Readme . Then I put the 2048 button matrix in it:

lv_group_add_obj(btn_matrix_group, game_2048->btnm);

and then link it to the keypad input object:

lv_indev_set_group(lvgl_input_get_indev(lvgl_keypad), btn_matrix_group);

The whole commit is here.

Do you think it could be missing in your lvgl port too?

everedero avatar Feb 13 '24 17:02 everedero