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

Re: [pygame] Numeric wireless keyboard



If it's working in a text editor then Linux has the drivers working on your embedded platform.  I would first try just printing out every event:

while 1:
    for event in pygame.event.get():
        print event

If pygame is not getting the event then you probably will need to look into mapping the device (from /dev/kb1 or whatever) so Pygame reads it for event input.

On Wed, Aug 19, 2009 at 3:36 PM, PierreLafrance1@xxxxxxxxxxxx <PierreLafrance1@xxxxxxxxxxxx> wrote:
Hi
I have a question on keyboard, about an issue we have.

We develop a pygame application on a desktop, using Ubuntu 7.10.  But
target is an embedded ARM board, runing a custom made linux distro, base
on Debian (kernel 2.4).  So far, we managed to make application works on
both platforms.

But now we're trying final setup, using a Logitech wireless numeric
keyboard (pruduct number : 920-000217).
http://www.logitech.com/index.cfm/keyboards/keyboard/devices/3075&cl=ca,en

The Pygame application works this wireless keyboard on Ubuntu 7.10.
The Pygame application doesn't work with this wireless keyboard on
embedded ARM platform.

But, keyboard works fine on embedded ARM platform, in a text editor, or
at command line.  So the custom Linux distro detect the USB dongle and
keyboard works fine.  But only Pygame application on embedded ARM
doesn't work with  this keyboard.

Do you have any suggestion to help me debug this problem ?
Thanks


Pierre