How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Arduino/Teensy software/code questions and discussion
Post Reply
User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by tinkerBOY » Mon Mar 05, 2018 12:29 am

I made an easy-to-follow tutorial on how to program/flash the Pro Micro as a USB gamepad controller. Tutorial works on the latest Arduino IDE software.
pro_micro.png
pro_micro.png (322.5 KiB) Viewed 43092 times
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

Beautjes
Posts: 36
Joined: Tue Aug 08, 2017 6:34 am
Location: Nederland
Has thanked: 25 times
Been thanked: 2 times

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by Beautjes » Wed Apr 18, 2018 1:03 pm

Hey Tinkerboy,

i have tried your guide but i get an error :

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

Specified folder/zip file does not contain a valid library

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

*EDIT*

I got it working, i unpacked the Joystick.zip file into my library and installed it the manual way.


Friendly Regards Beautje

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by tinkerBOY » Wed Apr 18, 2018 8:23 pm

Beautjes wrote:
Wed Apr 18, 2018 1:03 pm
Hey Tinkerboy,

i have tried your guide but i get an error :

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

Specified folder/zip file does not contain a valid library

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

*EDIT*

I got it working, i unpacked the Joystick.zip file into my library and installed it the manual way.


Friendly Regards Beautje
I was gonna say to install it manually. 😊👍
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

xfx9500
Posts: 8
Joined: Sun May 06, 2018 12:11 pm
Has thanked: 1 time

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by xfx9500 » Sat Jun 30, 2018 2:26 pm

hey tinkerBOY
is it possible do you make a version for 2 sticks :)

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by tinkerBOY » Tue Aug 21, 2018 7:07 am

xfx9500 wrote:
Sat Jun 30, 2018 2:26 pm
hey tinkerBOY
is it possible do you make a version for 2 sticks :)
Yes I will soon update the code.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

spacemishka
Posts: 75
Joined: Tue May 29, 2018 6:47 am
Location: Usa
Has thanked: 14 times
Been thanked: 13 times
Contact:

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by spacemishka » Sun Aug 26, 2018 11:26 pm

tinkerBOY wrote:
Tue Aug 21, 2018 7:07 am
xfx9500 wrote:
Sat Jun 30, 2018 2:26 pm
hey tinkerBOY
is it possible do you make a version for 2 sticks :)
Yes I will soon update the code.
I have one tinkerboard 2.2. Is the arduino clocked with 16Mhz or 8?

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by tinkerBOY » Mon Aug 27, 2018 12:28 am

spacemishka wrote:
Sun Aug 26, 2018 11:26 pm
tinkerBOY wrote:
Tue Aug 21, 2018 7:07 am
xfx9500 wrote:
Sat Jun 30, 2018 2:26 pm
hey tinkerBOY
is it possible do you make a version for 2 sticks :)
Yes I will soon update the code.
I have one tinkerboard 2.2. Is the arduino clocked with 16Mhz or 8?
It configured to use an external 16mhz clock crystal. Using the internal 8mhz for USB purpose is almost impossible to get it to work.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

spacemishka
Posts: 75
Joined: Tue May 29, 2018 6:47 am
Location: Usa
Has thanked: 14 times
Been thanked: 13 times
Contact:

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by spacemishka » Mon Aug 27, 2018 1:09 am

tinkerBOY wrote:
Mon Aug 27, 2018 12:28 am
spacemishka wrote:
Sun Aug 26, 2018 11:26 pm
tinkerBOY wrote:
Tue Aug 21, 2018 7:07 am


Yes I will soon update the code.
I have one tinkerboard 2.2. Is the arduino clocked with 16Mhz or 8?
It configured to use an external 16mhz clock crystal. Using the internal 8mhz for USB purpose is almost impossible to get it to work.
so its required to run it with 5V.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by VeteranGamer » Mon Oct 15, 2018 12:43 pm

tinkerBOY wrote:
Tue Aug 21, 2018 7:07 am
xfx9500 wrote:
Sat Jun 30, 2018 2:26 pm
hey tinkerBOY
is it possible do you make a version for 2 sticks :)
Yes I will soon update the code.



.

j4ck4
Posts: 1
Joined: Sat Nov 16, 2019 12:53 pm

Re: How To Program The Pro Micro As A USB Gamepad Controller With Arduino

Post by j4ck4 » Sat Nov 16, 2019 1:00 pm

Is it possible to set one of the pro micro's to send button push instructions for three toggle switches when they are flipped on or off need a single button press.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest