-
-
Notifications
You must be signed in to change notification settings - Fork 540
Open
Description
Reproduction
- Build for Raspberry Pi 4
- Load image on to Pi
- Plug USB keyboard in
- Power on Pi
- Once terminal loads, hit space bar. No spaces are added to the terminal
- Hold ALT+Space. Spaces are added
Potential Fix
I was playing around with this, and it seems to be an issue with the Symbols
array in the studio.c
file.
When the space key comes through from I'm guessing circle, the value isn't the space in the symbol string:
" abcdefghijklmnopqrstuvwxyz0123456789-=[]\\;'`,./ "
I believe it is probably getting a null terminator at the end instead of the last space. I was able to fix this by adding an extra space to that string. Since SDL builds skip that part of the keyboard function, all SDL builds will work (I tried on linux and it does).
Looking at the effected code, it seems like this has been an issue for awhile? Not sure if anyone else noticed it, or if maybe there was a recent update to Circle that wasn't checked fully? But if this fix can work, I can make a PR.
Metadata
Metadata
Assignees
Labels
No labels