Hi,
I am working on a GUI Guider project where I need to allow users to enter their name and ID number using a keyboard. Could someone guide me on how to achieve this functionality? Specifically, I need to know:
Any example code or references to documentation would be greatly appreciated.
Thanks!
Hello nithin3200,
As for my knowledge you can follow these steps
Hope this will help you
Hi @nithin3200,
This would have to be done with custom code. LVGL documentation has a section for input devices, including keyboards. Please follow section "keypad or keyboard" of the following page for more information on how to manipulate widgets using a keyboard: Input device interface — LVGL documentation.
Then, the label would have to be changed according to the key pressed, with "lv_label_set_text()", more info here Label (lv_label) — LVGL documentation.
You can also look into the example codes provided by LVGL documentation to see how to implement a function like this: Examples — LVGL documentation.
BR,
Edwin.
HI Edwin,
Thank you for the detailed guidance. I'll review the LVGL documentation sections you referenced and try to implement a custom solution using keyboard input to update the label. The example codes will also be helpful.
I appreciate your support. I'll let you know if I have any other questions.