Arwin has released a new version of his "Keyboard Emulator" for the PSP, heres whats new in the latest version:
version 0.51a
- added a non-blocking readKey function with a new structure that contains information on which group is selected, which modifiers were pressed, and so on, all at the right time. The p-sprint testscreen uses the function to display a proper blinking cursor. I spent a few hours on getting the key-repeat to work properly, but I couldn't manage it and the night's almost up, so have to get back to that later. But this is a significant step for other coders, so I'm releasing this early version for testing and development.
Getting a key from p-sprint is a lot like reading the controller now, with a comparable, non-blocking structure setup.
It would be fun to see if it were difficult to integrate this function into MicroWindows or something similar now.
Once I get the keyrepeat working I can rewrite the p_spGetChar and p_spGetKey functions calling the readKey functions in a loop, and wrap the whole thing up in a nice header file.