[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: "/" key won't work with brazilian ABNT 2 keyboard
- To: pygame-users@xxxxxxxx
- Subject: [pygame] BUG: "/" key won't work with brazilian ABNT 2 keyboard
- From: "Conrado PLG" <conradoplg@xxxxxxxxx>
- Date: Thu, 11 Jan 2007 23:39:31 -0200
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Thu, 11 Jan 2007 20:40:25 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rqeFsZob+m74L5ajHtEwPZ23Qh+T30yDDFqnP0LR72EvAOae1MddsmIJzYX2e86k9Lj1uCHK/qDMccdSWcqRO5znEiElQ+hPFeUo07gWWgRBeR8J5ZEECJVo/ZYZWqZIH3rIBDVMFZc9NygOS1gLYAxyepoAUbjHNuqZTa7/Rb8=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I think I've found a bug in pygame, I've searched google and the
mailing list archives to no avail.
I was using the ocempgui library and noticed that the "/" ("?" with
shift) key wouldn't work (I use a brazilian ABNT 2 keyboard). With
some testing I think the problem is within pygame.
Using this code in the event loop:
for event in pygame.event.get():
if event.type == pygame.KEYDOWN:
print event.key
I noticed that event.key is 0 when I press that key.
Any ideas on what is going on?
Thanks,
Conrado