Read arrow keys

P

Phil

Thank you for reading this.

I'm attempting to put a simple remote control program together and to do
so I need to check if the arrows are pressed. I could probably do this
with pyqt4 but I'm looking for something simple to experiment with.

Pygame looked like a suitable solution but the error message makes me
think that pygame doesn't work from the console:

"video system not initialized"

Is there a simple way to read the direction keys within a while loop?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top