Messages in this thread | | | Date | Sun, 15 May 2011 15:17:39 -0600 | From | Grant Likely <> | Subject | Re: [RFC PATCH] input: Add wiichuck driver |
| |
On Thu, May 12, 2011 at 02:24:59AM -0400, simon@mungewell.org wrote: > > This patch adds a driver for the Nintendo Nunchuck (wiimote accessory) > > attached to an i2c bus via something like a wiichuck adapter board > > from Sparkfun. > > > > I have not tested your driver, will try to find some time next week. > > There are also a handful of devices which can be connected as such: > http://www.wiibrew.org/wiki/Wiimote/Extension_Controllers > > You might want to consider the possibility that the Nunchuck/Others are > connected via a MotionPlus, in which case the data is interleaved with > Gyro data. > > Simon. > > PS. If you're really cheap you can (ab)use the I2C DDC link of the VGA > port to connect devices.... it's what I do :-)
Heh. I've actually got it wired up to the i2c bus on a BeagleBoard from TI.
I've got a new version of the driver which I'll post when I get back home and have a chance to properly test it. I've implemented Nunchuck and Classic Controller support so I could play with implementing multiple protocols in a clean way (even though I don't actually have a classic controller yet). Motion Plus should be straight forward to add, but I'll probably leave that as an exercise for somebody else.
g.
| |