

- #Gamecube controller adapter for pc usb project 64 how to#
- #Gamecube controller adapter for pc usb project 64 install#
- #Gamecube controller adapter for pc usb project 64 Patch#
- #Gamecube controller adapter for pc usb project 64 windows#
Go to Tools | Board and scroll down to select Generic STM32F103C series.įinally, press the upload button (right arrow icon). While (!usb_is_connected(USBLIB) || !usb_is_configured(USBLIB)) delay(100) USBHID.begin(HID_KEYBOARD_MOUSE_JOYSTICK) Start a new sketch ( File | New.) and type in: #include You now have a bootloader that you can use with the Arduino IDE.Ĭheck to make sure everything is working. Unpower everything and then move the jumper from B0+/center to B0-/center. Choose a 64kb rather than 128kb flash version. Choose the COM port for your UART bridge. Power up the Black Pill via its USB port (best if you connect it to a charger rather than the computer, as the computer will likely complain about an unrecognized USB device).
#Gamecube controller adapter for pc usb project 64 windows#
On Linux (and maybe OS X and even Windows if you prefer commandline tools), use this python script instead, but my instructions will be for Windows.Ĭonnect your UART bridge to your computer.
#Gamecube controller adapter for pc usb project 64 install#
On Windows, install ST's Flash Loader Demonstrator. I used logic probe tips to make the connections on the STM32 side, but you could also just solder in some wires that you can later cut off (or de-solder if you want to be neat)ĭownload the bootloader binary.

The design allows for up to 15 different operation modes, indicated by four LEDs.
#Gamecube controller adapter for pc usb project 64 how to#
This Instructable will also tell you how to get started making USB HID devices with the STM32F1 and the Arduino IDE.
#Gamecube controller adapter for pc usb project 64 Patch#
It's more powerful than an Arduino (32-bit ARM processor at 72MHz), has a USB peripheral, runs at the 3.3v needed for the Gamecube controller, and already has software (after a patch or two) that supports USB Keyboard/Joystick/Mouse all at once. The solution is a $2 "black pill" STM32F1 development board. One can buy a GameCube Controller adapter for $16, but I am cheap, and I wanted to be able to have different settings for different games, without any software fiddling on the PC side (GlovePIE, FreePIE, vJoystick, etc.) For instance, for some games I want the pad (and the sticks on the Gamecube controller) to generate arrow keys forfor other games, I want it to generate WASD controls for some I want to use the Gamecube controller as a joystick with different button mappings for different games. As a bonus, I also wanted to be able to use our (knock-off) Gamecube controller to for games on the PC, as I don't have any PC gamepad.

We have Dance Dance Revolution pads with Gamecube plugs for the Wii, and I wanted to be able to play games on the PC using a dance pad-I thought (rightly!) that Tetris would be particularly fun.
