I don’t under stand why btn_text(btn_id) L and z are even registering as button presses.
If anything you would think “ABC” and “abc” would be returned.
I 'm not as concerned about key returns as much as not being able to
click “ABC” or “abc” ONCE to change keyboard layout.
I am not holding down button… just a SINGLE CLICK fires event multiple times.
This does not happen with the standard keyboard…
but if maps are changed this rapid fire of a singe “abc” or “ABC” button click appears
and the ability to just go from lower case to upper case keyboard layout is a hit or miss issue.
You dont see this in the simulator link ???
You’ll also see “abc was pressed” / “ABC was pressed” prints correctly.
I think this is a bug in LVGL, unrelated to Micropython.
If you want this addressed, I suggest you open a GitHub issue on LVGL.
If you are able to reproduce this on C you might improve the chances that this will be addressed.
That was an interesting find !
So I removed " | lv.btnmatrix.CTRL.NO_REPEAT " from your simulator scrip and keyboard still functions.
This means there is no issue with button pressed time.
It appears that " abc / ABC " are location dependant on something in order to function correctly.
I will post on LVGL and hope someone will attempt to recreate in C.