Open rektide opened 11 years ago
See http://wiibrew.org/wiki/Wiimote
"The original Wiimotes (RVL-CNT-01) allowed sending commands using SET REPORT (0x52) over the control pipe, instead of using the data pipe; however, this form does not work on the newer RVL-CNT-01-TR, and as such is not recommended."
Then the wiimote RVL-CNT-01-TR might communicate sending commands with prefix 0xa2 on sockett 19 instead of the prefix 0x52 on socket 17
See "HID Interface" on http://wiibrew.org/wiki/Wiimote
Ideally would like RVL-CNT-01-TR support from cwiid.
The changes here are an attempt to implement this instruction: https://bugs.launchpad.net/wiican/+bug/954546/comments/
Other reference implementations and information resources: https://code.google.com/p/dolphin-emu/source/browse/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp?spec=svnf7ef58ff9a44dff06be78a5c2dd34586ffa71591&r=f7ef58ff9a44dff06be78a5c2dd34586ffa71591 https://github.com/pnegre/python-whiteboard/blob/master/stuff/linuxWiimoteLib.py http://wiibrew.org/wiki/Wiimote