How does they keyboard input work in onKey()?

Thanks, but I’ve seen it, I can’t understand how it works, how to implement. No usage example, nowhere… Ton of code examples about mouse, nothing about keyboard handling!

Have another post here: Handling non-text key on non-US keyboards? - #8 by Ohmer

Thank you, anyway.