A way to check if any Key is down


#1

I would like to check if a key is currently down. So not for a specific key but any key.
I think we only have bool KeyPress::isKeyCurrentlyDown (const int keyCode).


#2

Just create a global key listener, and make it keep a track of whether a key is down or not.


#3

yes that sounds sensible, i’ll do that. Thanx