The USB2CD-i homebrew project is coming to a more user-friendly state with ready to use code that you can copy to your Arduino setup. CD-i member TwBurn has been busy with developing a tool to connect USB control devices on your CD-i player, thanks to an Arduino which translates both languages to each other. TwBurn: ¨I've made a new GitHub repository for code that's ready-to-use on a USB-to-CD-i setup.
- Arduino CD-i controller library: https://github.com/TwBurn/cdi-controller-library
- Build your own USB2CDi: https://github.com/TwBurn/cdi-controller-library/wiki
- USB2CDi code: https://github.com/TwBurn/usb2cdi
- CD-i Controller Library (https://github.com/TwBurn/cdi-controller-library)
- USB Host Shield Library (https://github.com/felis/USB_Host_Shield_2.0)
Because these sketches are designed to be transmitted to the Arduino without adjustments, there is quite a bit of duplicate/similar code.
MagicNS-1p
Switch Pro, Switch SNES controller using a MagicNS dongle, mapped to a CD-i Maneuvering Device.
Button mapping:
- D-pad and left thumbstick: Directional input.
- A and X: Button 1.
- B and Y: Button 2.
- L/R triggers: Speed up/down (4 speed)
Switch Pro, Switch SNES controller using a MagicNS dongle, 2 player version.
Button mapping: See MagicNS-1p part above
Note: An USB hub and two dongles are needed.
WiiBT-1p
WiiMote/WiiU Pro controller using a Bluetooth dongle. A WiiMote must be held sideways.
Button mapping:
- D-pad and left thumbstick: Directional input.
- A, X and 1: Button 1.
- B, Y and 2: Button 2.
- +/-: Speed up/down (4 speed)
XBox 360 controller connected via USB, mapped to a CD-i Maneuvering Device.
Button mapping:
- D-pad and left thumbstick: Directional input.
- A and X: Button 1.
- B and Y: Button 2.
- L/R triggers: Speed up/down (4 speed)
[Thanks, TwBurn]