João Antônio wrote:
Here (pygame 1.7.1, Fedora Core 6 x86_64, Keyboard:ABNT 2), it printed
the code 47.
---
João Antônio T. Rosa
On 1/11/07, Conrado PLG <[EMAIL PROTECTED]> wrote:
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
Yeah, I have keyboard bugs too. For one guy, the shift key registers as
0. For me, I can't hit the print screen plus some other keys.
--Kamilche