On Fri, Oct 9, 2009 at 6:33 PM, PierreLafrance1@xxxxxxxxxxxx <PierreLafrance1@xxxxxxxxxxxx> wrote:Hi If I have a Linux base application, with 2 USB keyboards connected to it, is it possible to know, when a key is press, from wich keyboard the command is from ?
You could investigate whether they show up as separate HID devices in the /dev directory. If so, you should be able to open them and read events from them individually. I don't think you'll be able to distinguish them if you get all your events through the standard pygame event queue, though. -- Greg