Page 10 of 10

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Wed Mar 14, 2018 1:36 am
by tinkerBOY
nobble wrote:
Wed Mar 14, 2018 12:54 am
I'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..
You can try this link on how to program the Pro Micro as a USB controller.

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Thu Mar 29, 2018 10:06 pm
by nobble
tinkerBOY wrote:
Wed Mar 14, 2018 1:36 am
nobble wrote:
Wed Mar 14, 2018 12:54 am
I'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..
You can try this link on how to program the Pro Micro as a USB controller.
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.

Many thanks!

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Tue Apr 24, 2018 8:50 am
by JujuPi
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

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Wed Apr 25, 2018 7:34 pm
by goosewerks
Crashdummy wrote:
Tue Jan 23, 2018 8:34 am
As 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
Here's the delay. Add it to the end.

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Tue May 15, 2018 1:01 pm
by sigma84
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 :)

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Sat Jun 30, 2018 3:18 pm
by xfx9500
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 ?

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Tue Aug 21, 2018 12:56 am
by drifftr6x
same here, need the wiring diagram. can some one please help. thanks so much.

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Mon Oct 08, 2018 9:14 pm
by onilx
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?
2D9F723F-469B-4205-AEBD-C7C1588EBD65.png
2D9F723F-469B-4205-AEBD-C7C1588EBD65.png (236.08 KiB) Viewed 62036 times
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.

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Thu Jan 03, 2019 12:06 am
by Thomastrain00
Is there anyway to get this script to work on a Teensy LC?

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Posted: Tue Aug 06, 2019 11:01 am
by holgerwahl
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