I mainly use a touch interface, but I want to operate the external button in connection with a specific button on the LCD. Is there a way to add a button type to the input device interface? If not, is there no choice but to use LV_EVENT_SEND?
Hi @pabian,
Yes, it’s possible to add a button as indev (Input Device).
Also, you are able to associate an object to receive buttons events. For example:
lv_obj_add_event_cb(lv_screen_active(), button_event_cb, LV_EVENT_KEY, NULL);