First, you didn't attach any code.

Second, without opening a window pygame cannot capture keyboard input, so
you're barking up the wrong tree.


On Wed, May 29, 2013 at 8:05 PM, winkleink <winkle...@gmail.com> wrote:

> 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.
>



-- 
--Robert Deaton
http://lushlab.com

Reply via email to