[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: display.init() confuses key mods
- To: pygame <pygame-users@xxxxxxxx>
- Subject: [pygame] BUG: display.init() confuses key mods
- From: Phil Hassey <philhassey@xxxxxxxxx>
- Date: Thu, 10 Aug 2006 23:40:20 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 11 Aug 2006 02:40:46 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KahIQnF/zPNtxJoRQxXh82zFAi4kO6Qehd8WTqFPIuRJwTaJQY1E2DX2SeXd3UlsCpwHVHEmJZp0NcKqkJvRqypWXtjAPGHLg1fACn/Szsf89/lxhju+DVATD2icbO6TOelMB3s7Uf/3H1GuJTn0zmauTfdLJDyMKHi4Pm0WWUE= ;
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I noticed that when I used the sample:
http://www.pygame.org/wiki/toggle_fullscreen?parent=CookBook
To control my fullscreen toggling, after I went into full screen, I could often just press enter (without the ALT) to get back to windowed mode. After some playing around, it appears that either pygame or SDL misses the ALT key-up event while switching into fullscreen mode... I was able to reproduce this issue on both a linux and win32 system.
Any suggestions? Am I doing something wrong in my toggle_fullscreen code?
Thanks!
Phil
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.