[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Using Pygame to capture key presses for CLI prgram?



Hi,

I'm running pygame in a raspberry pi.
The program I am writing has no graphical interface and I am connecting
using SSH (Putty from a Windows XP computer)

I want to capture a key press (with no graphical interface) and take action.
Below is my code.  From what I can tell it should work.

Any advice greatly appreciated.





--
View this message in context: http://pygame-users.25799.x6.nabble.com/Using-Pygame-to-capture-key-presses-for-CLI-prgram-tp719.html
Sent from the pygame-users mailing list archive at Nabble.com.