Special/Interesting controllers for MiSTer

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
User avatar
Sorgelig
Site Admin
Posts: 890
Joined: Thu May 21, 2020 9:49 pm
Has thanked: 2 times
Been thanked: 214 times

Special/Interesting controllers for MiSTer

Unread post by Sorgelig »

Here i plan to post interesting controllers i've got and successfully adopted to MiSTer.
I won't post generic gamepads as i'm sure modern USB gamepads are much better than any old generic one.

Paddle/Spinner controller:
Some cores are better with either spinner or paddle controller. I've used Atari 2600 driving controller (Atari 2600 paddle can be modded the same way):
spinner.jpg
spinner.jpg (493.97 KiB) Viewed 15108 times
Original spinner inside is pure rubbish, so i've replaced it with Arduino rotary encoder shield. Together with Arduino Micro it gives a good USB controller.
spinner_int.jpg
spinner_int.jpg (464.49 KiB) Viewed 15108 times
Arduino rotary encoder originally has clicking mechanism which is better to disable for free rotation and higher resolution (one click is 4 steps). Fortunately the rotary encoder is easy to disassemble, so i flattened the internal "pimple" and thus disabled the clicks.

Here is the mr.Spinner firmware project for Arduino Micro:
https://github.com/MiSTer-devel/Retro-C ... rollersUSB
Besides the spinner, it also emulates the paddle controller. So you get 2 in 1 controller. Project supports 2 controllers in a single board.

MiSTer detects this controller and overlays it on top of any other existing controller. So you may use for example DualShock4 as your main controller and mr.Spinner which adds additionally spinner and paddle the the same player.

___________________________________________________________________________


Super Famicom NTT gamepad:
ntt.jpg
ntt.jpg (521.5 KiB) Viewed 15108 times
It has many buttons, so can be useful in such cores as Coleco Vision, Intellivision where phone pad is used in controller. Or simply for some core requiring many buttons.

This is internals of the mod:
ntt_int.jpg
ntt_int.jpg (909.36 KiB) Viewed 15108 times
Firmware for Arduino Micro is here:
https://github.com/MiSTer-devel/Retro-C ... rollersUSB
___________________________________________________________________________


Mad Catz Arcade Stick 360:
This is nice gamepad giving many different ways to control the game. Here you can see traditional long analog stick, D-PAD, small analog stick, and even spinner - wow!
madcatz.jpg
madcatz.jpg (385.6 KiB) Viewed 15108 times
Because my controller died from unknown reason, i've decided to revive it using Teensy 3.2. Mod looks quite messy, but it's just connection of every button/axis to the teensy:
madcatz_int.jpg
madcatz_int.jpg (1.78 MiB) Viewed 15108 times
I've added some special modes like swapping the sticks, better spinner mode and paddle emulation. So overall now it's pretty much universal arcade stick.
___________________________________________________________________________


Namco Playstation JogCon:

This is wonderful controller! Not only it has spinner, it also has force feedback!
jogcon.jpg
jogcon.jpg (709.75 KiB) Viewed 15108 times
After some exploration in undocumented features i've made the mod fully utilizing this controller:
jogcon_int.jpg
jogcon_int.jpg (820.67 KiB) Viewed 15108 times
Not only it has paddle emulation, it uses the motor to show the limits, so you feel it like real paddle with stoppers. Also it has steering wheel mode where jog will automatically go back to center. Spy Hunter (and Turbo Tag) control is great with this mode.
Firmware for Arduino Micro is here:
https://github.com/MiSTer-devel/Retro-C ... /JogConUSB
deepthaw
Posts: 65
Joined: Wed May 27, 2020 3:45 am
Has thanked: 1 time
Been thanked: 13 times

Re: Special/Interesting controllers for MiSTer

Unread post by deepthaw »

That Super Famixom NTT controller is hilarious yet awesome. Seeing the JogCon made me remember the neGcon controller. God I loved that thing.
User avatar
Kreeblah
Posts: 39
Joined: Sun May 24, 2020 7:06 pm
Location: Seattle-ish
Been thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by Kreeblah »

Are there any schematics anywhere for building a Mr. Spinner from an off-the-shelf spinner knob and a button, rather than modding an existing controller?
User avatar
Sorgelig
Site Admin
Posts: 890
Joined: Thu May 21, 2020 9:49 pm
Has thanked: 2 times
Been thanked: 214 times

Re: Special/Interesting controllers for MiSTer

Unread post by Sorgelig »

Kreeblah wrote: Wed May 27, 2020 6:33 am Are there any schematics anywhere for building a Mr. Spinner from an off-the-shelf spinner knob and a button, rather than modding an existing controller?
Schematic for buttons - are you kidding? Just connect the button and 2-phase spinner to pins mentioned in Arduino project file.
User avatar
mmmonkey
Posts: 19
Joined: Sun May 24, 2020 7:05 pm
Been thanked: 6 times

Re: Special/Interesting controllers for MiSTer

Unread post by mmmonkey »

You can make an external adapter for the JogCon, no modification of the actual pad necessary :-)

Edit - just got home and found the picture I made as a reference...
JogConUSB-pinout.png
JogConUSB-pinout.png (261.89 KiB) Viewed 14951 times
A note i left to myself after reading on the old forum was to use an ItsyBitsy board by Adafruit, as it has the correct 3.3v on it. I used a cheap PS1 to USB adapter for the housing and joypad port, it was a 2 player adapter, i don't have 3d printing skill or equipment so just cut some black plastic to shape and stuck it inside to block off where controller 2 was etc.
IMG_9555.jpg
IMG_9555.jpg (91.05 KiB) Viewed 14951 times
IMG_9556.jpg
IMG_9556.jpg (97.57 KiB) Viewed 14951 times
Pete
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Special/Interesting controllers for MiSTer

Unread post by LamerDeluxe »

deepthaw wrote: Wed May 27, 2020 3:47 am That Super Famixom NTT controller is hilarious yet awesome. Seeing the JogCon made me remember the neGcon controller. God I loved that thing.
The neGcon works with MiSTer, when used with a Playstation controller USB adapter.
lupin3rd
Posts: 35
Joined: Wed Jun 17, 2020 7:15 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Special/Interesting controllers for MiSTer

Unread post by lupin3rd »

mmmonkey wrote: Wed May 27, 2020 3:35 pm A note i left to myself after reading on the old forum was to use an ItsyBitsy board by Adafruit, as it has the correct 3.3v on it.
Can you elaborate on what you meant specifically by "it has the correct 3.3v on it"? I have some spare Arduino nano boards lying about, and I was preparing to build the JogCon interface per Sorgelig's project. If they are incapable, or if there's an issue with the 3.3v on them, I'll order something else instead of using my surplus stock of nanos.

Thanks!
sv650touring
Posts: 3
Joined: Fri Sep 04, 2020 1:32 pm
Has thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by sv650touring »

Would it work if I use a 3.3v/8mhz Pro Micro and pull 5v off the RAW pin? I've read the Playstation vibration motors run off of some voltage higher than 5v. Would there be any benefit to increasing the 5v to that voltage?
Slein
Core Developer
Posts: 49
Joined: Tue Jul 07, 2020 8:19 am
Has thanked: 14 times
Been thanked: 20 times

Re: Special/Interesting controllers for MiSTer

Unread post by Slein »

I made a small pcb for MrSpinner. It was an experiment in pcb cutouts, but maybe someone has a use for it.
The cutouts fit the cheap 600p/r rotary encoders from china and a 30mm arcade button.

Find the gerber files and a few more pictures at github.
top.jpg
top.jpg (194.99 KiB) Viewed 13740 times
djsquare
Posts: 126
Joined: Mon May 25, 2020 3:29 pm
Has thanked: 18 times
Been thanked: 17 times

Re: Special/Interesting controllers for MiSTer

Unread post by djsquare »

Slein wrote: Thu Dec 10, 2020 9:03 am I made a small pcb for MrSpinner. It was an experiment in pcb cutouts, but maybe someone has a use for it.
The cutouts fit the cheap 600p/r rotary encoders from china and a 30mm arcade button.

Find the gerber files and a few more pictures at github.

top.jpg
I would totally buy one of these and probably buy 2 if it works with the Pong core. Fantastic work but I'm too dumb and doubt I could put one of these together myself
Slein
Core Developer
Posts: 49
Joined: Tue Jul 07, 2020 8:19 am
Has thanked: 14 times
Been thanked: 20 times

Re: Special/Interesting controllers for MiSTer

Unread post by Slein »

Sorry, i'm not into selling things.

Theres not much to it, i only layd down the wires to pcb traces. With the pcb its only soldering colored wires to the right places. The led and extra buttons are optional. I will add more info to the github page on what to solder where.

Many thanks to sorgelig for implementing all this stuff, to me this is reliving some of my very first memories.

MrSpinner works with the pong core, 2 player too.
User avatar
lomdar67
Posts: 184
Joined: Sun May 24, 2020 8:27 pm
Has thanked: 14 times
Been thanked: 9 times

Re: Special/Interesting controllers for MiSTer

Unread post by lomdar67 »

Sorgelig wrote: Tue May 26, 2020 12:31 pm Here i plan to post interesting controllers i've got and successfully adopted to MiSTer.
I won't post generic gamepads as i'm sure modern USB gamepads are much better than any old generic one.

Paddle/Spinner controller:
Some cores are better with either spinner or paddle controller. I've used Atari 2600 driving controller (Atari 2600 paddle can be modded the same way):
spinner.jpg
Original spinner inside is pure rubbish, so i've replaced it with Arduino rotary encoder shield. Together with Arduino Micro it gives a good USB controller.
spinner_int.jpg
Arduino rotary encoder originally has clicking mechanism which is better to disable for free rotation and higher resolution (one click is 4 steps). Fortunately the rotary encoder is easy to disassemble, so i flattened the internal "pimple" and thus disabled the clicks.

Here is the mr.Spinner firmware project for Arduino Micro:
https://github.com/MiSTer-devel/Retro-C ... rollersUSB
Besides the spinner, it also emulates the paddle controller. So you get 2 in 1 controller. Project supports 2 controllers in a single board.

MiSTer detects this controller and overlays it on top of any other existing controller. So you may use for example DualShock4 as your main controller and mr.Spinner which adds additionally spinner and paddle the the same player.
I tried to build one of these for myself. The spinner it self works fine but it seems the button is not working.
How do I hook up the orange button from the controller? I have connected one pin from the button to GPIO 6 on the Arduino and the other pin from the button to GND. When I press the button I have a connect from 6 to GND. Is this correct?

Best regards,
Michael
We raise hopes here...until they're old enough to fend for themselves.
--Mike Callahan
User avatar
lomdar67
Posts: 184
Joined: Sun May 24, 2020 8:27 pm
Has thanked: 14 times
Been thanked: 9 times

Re: Special/Interesting controllers for MiSTer

Unread post by lomdar67 »

Sorry my bad. The buttons work fine. I'm having problems with the Atari 2600 core and real Spinner games like Indy 500. In Paddle Games like Circus Atari the button works just fine.
We raise hopes here...until they're old enough to fend for themselves.
--Mike Callahan
bnjones
Posts: 5
Joined: Sat Aug 28, 2021 3:18 pm
Been thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by bnjones »

Thanks for sharing your controllers! Unfortunately I don’t have the time these days to tinker much myself, so I’m hoping to find some off the shelf solutions. I’ve got a Namco volume controller and negcon, so I’m hoping that will cover my bases once my raphnet adapter comes in.

I’m also looking around for trackball solution, if anyone has suggestions on that. I’m thinking it would work really well on the Japanese Mega Drive version of Marble Madness since that one has mouse support.

Are there currently any arcade cores that would benefit from a twin stick control scheme?
User avatar
sonik
Posts: 91
Joined: Sun May 09, 2021 3:31 pm
Location: Brazil
Has thanked: 15 times
Been thanked: 17 times

Re: Special/Interesting controllers for MiSTer

Unread post by sonik »

Sorgelig wrote: Tue May 26, 2020 12:31 pm Namco Playstation JogCon:

This is wonderful controller! Not only it has spinner, it also has force feedback!

After some exploration in undocumented features i've made the mod fully utilizing this controller:

Not only it has paddle emulation, it uses the motor to show the limits, so you feel it like real paddle with stoppers. Also it has steering wheel mode where jog will automatically go back to center. Spy Hunter (and Turbo Tag) control is great with this mode.
Firmware for Arduino Micro is here:
https://github.com/MiSTer-devel/Retro-C ... /JogConUSB
Been using it on MiSTer for some time now and it's amazing!
Thanks for doing the arduino firmware and for implementing paddle/spinner support on the cores.
I have modified a little my firmware to also support mouse mode and be compatible with mame. Mame (at least on windows) cant read the Dial and Wheel from the joystick.
blacklistedcard
Posts: 91
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 11 times

Re: Special/Interesting controllers for MiSTer

Unread post by blacklistedcard »

I'm trying to get the Atari Paddles to work with the Arduino Micro code. So far I have not been successful.

Here is the pin-out when I beeped it out with a DMM.

DB9

PIN #1 ==> RED wire for POT
PIN #2 ==> BROWN wire for Button
PIN #7 ==> VCC ==> Black wire for Button
PIN #8 ==> GND ==> Yellow wire for POT

I also connected the third connection from the pot to the black wire on the button.

DB9 Arduino Micro pin
1 2 RED Wire
2 7 Brown Wire
7 VCC Black Wire
8 GND Yellow Wire

Un-used connector on POT to black wire on Button
blacklistedcard
Posts: 91
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 11 times

Re: Special/Interesting controllers for MiSTer

Unread post by blacklistedcard »

I just finished off a JogCon controller. It's working really great. I could not figure out how to change the modes on the controller until I read the source code with the mode and button combinations.
blacklistedcard
Posts: 91
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 11 times

Re: Special/Interesting controllers for MiSTer

Unread post by blacklistedcard »

blacklistedcard wrote: Mon Sep 27, 2021 2:46 pm I'm trying to get the Atari Paddles to work with the Arduino Micro code. So far I have not been successful.

Here is the pin-out when I beeped it out with a DMM.

DB9

PIN #1 ==> RED wire for POT
PIN #2 ==> BROWN wire for Button
PIN #7 ==> VCC ==> Black wire for Button
PIN #8 ==> GND ==> Yellow wire for POT

I also connected the third connection from the pot to the black wire on the button.

DB9 Arduino Micro pin
1 2 RED Wire
2 7 Brown Wire
7 VCC Black Wire
8 GND Yellow Wire

Un-used connector on POT to black wire on Button
I got the Atari paddles working. Yeah, the resolution is too low for most games.
jd213
Posts: 112
Joined: Sun Aug 15, 2021 2:44 pm
Has thanked: 23 times
Been thanked: 19 times

Re: Special/Interesting controllers for MiSTer

Unread post by jd213 »

mmmonkey wrote: Wed May 27, 2020 3:35 pm

You can make an external adapter for the JogCon, no modification of the actual pad necessary :-)

Edit - just got home and found the picture I made as a reference...

A note i left to myself after reading on the old forum was to use an ItsyBitsy board by Adafruit, as it has the correct 3.3v on it. I used a cheap PS1 to USB adapter for the housing and joypad port, it was a 2 player adapter, i don't have 3d printing skill or equipment so just cut some black plastic to shape and stuck it inside to block off where controller 2 was etc.

Pete

Thanks for this, it seems to work pretty good in Arkanoid.

Was hoping it would work in rotary games like Jackal and Ikari Warriors, but couldn't get the core to recognize the spinner correctly (tried all the different modes but it would only recognize one of the directions), anyone know if there's a way to get them to work?

User avatar
sonik
Posts: 91
Joined: Sun May 09, 2021 3:31 pm
Location: Brazil
Has thanked: 15 times
Been thanked: 17 times

Re: Special/Interesting controllers for MiSTer

Unread post by sonik »

jd213 wrote: Mon Jan 23, 2023 7:35 pm

Thanks for this, it seems to work pretty good in Arkanoid.

Was hoping it would work in rotary games like Jackal and Ikari Warriors, but couldn't get the core to recognize the spinner correctly (tried all the different modes but it would only recognize one of the directions), anyone know if there's a way to get them to work?

Those games does not have emulated spinner support on MiSTer.

cptnoe
Posts: 3
Joined: Thu Jun 22, 2023 3:55 pm
Has thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by cptnoe »

mmmonkey wrote: Wed May 27, 2020 3:35 pm

You can make an external adapter for the JogCon, no modification of the actual pad necessary :-)

Edit - just got home and found the picture I made as a reference...

A note i left to myself after reading on the old forum was to use an ItsyBitsy board by Adafruit, as it has the correct 3.3v on it. I used a cheap PS1 to USB adapter for the housing and joypad port, it was a 2 player adapter, i don't have 3d printing skill or equipment so just cut some black plastic to shape and stuck it inside to block off where controller 2 was etc.

Pete

hello, did you use the jogcon.ino, or did you use another code??

thx

jd213
Posts: 112
Joined: Sun Aug 15, 2021 2:44 pm
Has thanked: 23 times
Been thanked: 19 times

Re: Special/Interesting controllers for MiSTer

Unread post by jd213 »

I believe you want to use JogConUSB.ino from https://github.com/MiSTer-devel/Retro-C ... /JogConUSB

cptnoe
Posts: 3
Joined: Thu Jun 22, 2023 3:55 pm
Has thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by cptnoe »

Yes, i just did it this morning and it works perfectly, thx to mmmonkey and mister !!!!!!!!

cptnoe
Posts: 3
Joined: Thu Jun 22, 2023 3:55 pm
Has thanked: 2 times

Re: Special/Interesting controllers for MiSTer

Unread post by cptnoe »

hii, i'm back with a question, what does it really mens??

// Spinner pulses per step adjust
// by pressing "mode" button while holding up,right,down,left
if(data[2] & 0xF0)
{
if(data[2] & 0x10) sp_step = 1;
if(data[2] & 0x20) sp_step = 2;
if(data[2] & 0x40) sp_step = 4;
if(data[2] & 0x80) sp_step = 8;

It's about demultiplication ?? or other fonction??

thx for help

Post Reply