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

Re: [pygame] capture keystrokes in the terminal from which pgame launched?



Richard Jones <richardjones@xxxxxxxxxxxxxxxx> writes:

> On Saturday 12 August 2006 10:27, Ari Krupnik wrote:
>> When I start my pygame application from an xterm, and the focus is on
>> the xterm, keys I type into xterms are not processed. I would like to
>> have access to these keystrokes similarly to how I can read BUTTONDOWN
>> events from the event queue.
>
> Those keystrokes will be available on sys.stdin

Duh! I've been doing pygame events for too long :=)

Thank you

Ari.

-- 
Elections only count as free and trials as fair if you can lose money
betting on the outcome.