Hi,
I'm trying to understand how I can catch keyboard inputs in a ui reliably.
When I place a textbox on a form, i need to tap it to make it accept keys.
My use case:
I have a bluetooth keyboard connected to the ipad. (Actually, it's a hardware barcode laser
scanner that acts like a bluetooth keyboard and types any number it scans)
My aim is to accept any number 0-9 and the enter key always, no matter where the focus is.
Whenever enter is recognised, I would then collect the typed number and so something with it.
When developing desktop programs, I can force focus to a textbox from
code, so I don't have to click on it and any scanned number will go in there.
What is the best approach in Pythonista?
I'd prefer not having a textbox at all - and just get all keypresses on a UI.