You can try this link on how to program the Pro Micro as a USB controller.nobble wrote: ↑Wed Mar 14, 2018 12:54 amI'm trying to program a Pro Micro with Sota's code for dual joysticks. I bought the generic blue board version and added all the extra files needed, but it wont pick up in Arduino. If anyone has any direction, I would really appreciate it. I kept getting COM errors and the lovely 'JoyState_t' does not name a type Error. I'm on Arduino 1.0.5r2 like it says is needed..
[NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
- tinkerBOY
- Posts: 710
- Joined: Tue May 30, 2017 4:00 am
- Has thanked: 294 times
- Been thanked: 206 times
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
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
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
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Got it now! I had issues getting the serial port working. And I guess my generic blue colored Pro Micro had to be selected as "Arduino Leonardo" in the Arduino program.tinkerBOY wrote: ↑Wed Mar 14, 2018 1:36 amYou can try this link on how to program the Pro Micro as a USB controller.nobble wrote: ↑Wed Mar 14, 2018 12:54 amI'm trying to program a Pro Micro with Sota's code for dual joysticks. I bought the generic blue board version and added all the extra files needed, but it wont pick up in Arduino. If anyone has any direction, I would really appreciate it. I kept getting COM errors and the lovely 'JoyState_t' does not name a type Error. I'm on Arduino 1.0.5r2 like it says is needed..
Many thanks!
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Is anyone happy to edit his code and add a debouncing delay please? I keep getting issues with multiple presses and its causing my Pi problems :l
- goosewerks
- Posts: 93
- Joined: Mon May 22, 2017 8:27 am
- Has thanked: 18 times
- Been thanked: 39 times
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Here's the delay. Add it to the end.Crashdummy wrote: ↑Tue Jan 23, 2018 8:34 amAs for double/tripple presses:
Regarding Softwareproblems you can either use another joystick-Library ( more difficult ), but the easier Method would be to add a Delay at the end of your Method.Code: Select all
Delay(100); // This will add a 100ms ( 1/10 second ) Delay
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Hi, thx a lot for a great guide.
Im just wondering. I made everything listed like in your guide but i dont understand how I have to configure the pins in the script.
I wired my pins :
Pin A : TX0
Pin B : RX1
Pin Y : 3
Pin X : 2
Pin Start : 4
Pin Select : 5
Pin Dpad right : 9
Pin Dpad down : 7
Pin Dpad up : 6
Pin Dpad left : 8
Pin R1 : 14
Pin L1: 10
What should I change exactly in the Button configuration.
Thx for help
Im just wondering. I made everything listed like in your guide but i dont understand how I have to configure the pins in the script.
I wired my pins :
Pin A : TX0
Pin B : RX1
Pin Y : 3
Pin X : 2
Pin Start : 4
Pin Select : 5
Pin Dpad right : 9
Pin Dpad down : 7
Pin Dpad up : 6
Pin Dpad left : 8
Pin R1 : 14
Pin L1: 10
What should I change exactly in the Button configuration.
Thx for help
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
all the pictures are offline
and i am unable to compile the sample sketch from sota,s
alternative sample sketch for two analog sticks ? + diagram ?
and i am unable to compile the sample sketch from sota,s
alternative sample sketch for two analog sticks ? + diagram ?
-
- Posts: 6
- Joined: Sat May 27, 2017 8:50 am
- Location: Tokyo, Japan
- Been thanked: 3 times
- Contact:
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
I love this, it works amazingly well with RetroPie. But when I was testing it’s output against an iBUFFALO SNES-style gamepad, I noticed the signals were coming out completely differently. I went in and reassigned the numbers to make it resemble a similar output but this was the best I could do. Any thoughts?
P.S. - this is for a WS usb controller, so I mapped the second D pad to look like the shoulder buttons, hence there being two sets of D pads.-
- Posts: 1
- Joined: Wed Oct 10, 2018 6:03 pm
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Is there anyway to get this script to work on a Teensy LC?
-
- Posts: 1
- Joined: Tue Aug 06, 2019 10:58 am
Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)
Hello,
can anyone help me with the installation for the buttons ?
I do not understand what to do to use analog sticks and what are the next steps for me.
So far, the installation is completed but now i must configure the buttons, but i dont know how ?
kind regards
holger
can anyone help me with the installation for the buttons ?
I do not understand what to do to use analog sticks and what are the next steps for me.
So far, the installation is completed but now i must configure the buttons, but i dont know how ?
kind regards
holger
Who is online
Users browsing this forum: No registered users and 1 guest