This Instructable will also tell you how to get started making USB HID devices with the STM32F1 and the Arduino IDE. 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.
0 Comments
Leave a Reply. |