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

Re: [pygame] BUG: "/" key won't work with brazilian ABNT 2 keyboard



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 <conradoplg@xxxxxxxxx> 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