abstrakraft / cwiid

Linux Nintendo Wiimote interface
cwiid.org
GNU General Public License v2.0
287 stars 100 forks source link

MotionPlus + extension interleaved data #5

Open robots opened 14 years ago

robots commented 14 years ago

When extension is plugged in the MotionPlus port it interleaves the data coming from the extension with data from MotionPlus. This can be distinguished by looking at 2nd byte in 5th byte. This packet must then be changed to be seen as coming from Nun-chuck/Classic controller. I have done the first part in my forked repo, I have not yet found a way how to simply know what is plugged in. Please have a look at http://github.com/robots/cwiid

abstrakraft commented 14 years ago

Looks good - let me know when you've got everything working.