Forum Discussion
TheEndless
10 years agoRoku Guru
"rymawby" wrote:
Has anyone else successfully implemented text input from the companion app?
I have. If you change it so you only process literal keys on release, and track the last key press, then you can compare the two to determine if it's a literal key press or a standard key release. If the value is less than 100, you know it's not a literal key release. If the value is greater than 100, then subtract 100 and compare that value to the last key event you received. If they're equal, then you can assume it's a literal key release, and process it as such.
That sounds horribly convoluted, but hopefully it makes enough sense for you to be able to decipher it.. 😉