[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Keyboard events problem in Mac OS X 10.6 Snow Leopard
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Keyboard events problem in Mac OS X 10.6 Snow Leopard
- From: Mathieu Richardoz <mathieu.richardoz@xxxxxxxxx>
- Date: Sat, 3 Apr 2010 15:03:47 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 03 Apr 2010 09:04:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:from:date :x-google-sender-auth:received:message-id:subject:to:content-type; bh=Uhr8NHjczA+lMcB5eY0rv8/0cCPSYUub4aRpQXmVzN0=; b=fCTmSNmKA7em6lD+NF8McL0kxFRHUVlSYK3imBz8HjkbHUfft6oBe5h5URmX67lmFt QU6bxpIRhOyU+sr3dk0Vibq0/rsDTaZdSUf+Zir4MhfKv0WGZyC5BiUgWy3LmqASMoSo HcrAuxQqP1/Mo98j9E0YeFt5kykVkxa1jFonY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:from:date:x-google-sender-auth :message-id:subject:to:content-type; b=U854hJQeyPDAMD3XIZ4sZHAOtr37k7S47fIW4o3oHdxITsaFsVxDgkz4xyG7Gi+PBT i/UOJeGC8FmgZnp0QbJt0SbxgSaD5OsFPEpXdDNiyIo63XXIc7BsZKsMS+wSr6vfrxFF iwqFUszsbrhqarOLR5o79XbtH5Nd1temef2UQ=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello fellow PyGamers,
I have a very annoying problem with my PyGame installation under Mac
OS X 10.6 Snow Leopard.
When I execute a PyGame program from the Terminal, the keys I press
are not sent to the game window but to the Terminal window itself,
where they are echoed, which means that no key presses are ever
detected by my program :'(
I've been googling that problem for the past couple of hours, and the
only reference to it I've found is this post:
http://www.mail-archive.com/pygame-users@xxxxxxxx/msg09102.html
, to which there was no conclusive answer.
I've installed pygame through MacPorts, where it depends upon the
python24 package.
I thus run it through Python 2.4.6.
I even tried to force grab the focus with pygame.event.set_grab(True),
but the behaviour remains the same.
Thanks in advance for any help you could provide on that matter.
Math