Re: module cwiid and threading: how to use cwiid.Wiimote without blocking

2008-11-11 Thread News123
The only solution, that I found was recompiling the libcwiid wrapper, such that it allows threading (the patch existed already on the libcwiid Trac data base, though it's not part of an official release) bye N News123 wrote: > Hi, > > I'm using the module cwiid to conncet to a wiimote. > > i

module cwiid and threading: how to use cwiid.Wiimote without blocking

2008-11-09 Thread News123
Hi, I'm using the module cwiid to conncet to a wiimote. import cwiid wiimote = cwiid.Wiimote() This function is blocking: It waits until it could sucessfully connect to a device or until 20 seconds passed without sucessful connection. As I wanted to do some things even if the wii-mote is not co