Here's the first version of my lua text editor. It's still a little glitchy (like sometimes the key it says is selected isn't the one that is). You can't save or open any thing and can only write up to 11 lines.
Up, down, left, and right = key selection
L = Backspace
R = Space
Triangle, Circle, Cross, and Square = Press to print the corresponding letter for the key selected
The key selected is in the bottom right, printed in red.
P.S. If you think can make it better, PM me.