Quote:
Wow Hansel! You're not wasting time, eh?
|
This depends a bit on your views about time and about wasting, but if you like puzzles and it's raining outside...
Quote:
I know how to receive events on new windows and window destruction, so this code would be attached there.
|
Maybe it's enough to call the keyboard check in the time loop. It's not expensive (in terms of cpu usage). Be aware that the keyboard can move itself... I'll experiment with this when I have some more playtime...