Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: joystick with 8 switches?  (Read 2177 times)

0 Members and 1 Guest are viewing this topic.

Cooljerk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:February 06, 2015, 10:14:22 pm
  • I want to build my own arcade controls!
joystick with 8 switches?
« on: February 06, 2015, 08:52:56 pm »
I'm building an atari jaguar joystick especially for total carnage. It uses the numeric keypad to allow you to rotate your character independent of walking direction. This makes for a particularly good port of the game, but the jaguar pad is terrible to hold. I'm trying to build a dual joystick setup where one moves the player and the other fires in the direction it's pressed.

Only problem is that the jaguar keypad won't check for two directions to make a diagonal. In other words, I can't press 2 (up) and 4 (left) to shoot up-left, I have to press 1 (up-left). This means your aim is controlled by 8 different buttons. I'm trying to find a joystick with actual diagonal microswitches but coming up short. Anybody know if such a joystick exists?

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:August 08, 2025, 09:49:26 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: joystick with 8 switches?
« Reply #1 on: February 06, 2015, 09:21:53 pm »
I've never seen one.
***Build what you dig, bro. Build what you dig.***

Louis Tully

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1800
  • Last login:February 13, 2015, 09:41:03 pm
Re: joystick with 8 switches?
« Reply #2 on: February 06, 2015, 09:31:55 pm »
.
« Last Edit: February 12, 2015, 07:31:18 pm by Louis Tully »

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: joystick with 8 switches?
« Reply #3 on: February 06, 2015, 09:34:47 pm »
IF it is a dedicated single game setup perhaps you could use buttons instead of a joystick and arrange them like the keypad.

Or if you use joytokey is there a way to run a script that inputs 2 if pressing down, 4 if pressing left, and 1 if both down and left are pressed etc. :dunno

EDIT : NInja'd by LT

Louis Tully

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1800
  • Last login:February 13, 2015, 09:41:03 pm
Re: joystick with 8 switches?
« Reply #4 on: February 06, 2015, 09:39:57 pm »
.
« Last Edit: February 12, 2015, 07:31:45 pm by Louis Tully »

Cooljerk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:February 06, 2015, 10:14:22 pm
  • I want to build my own arcade controls!
Re: joystick with 8 switches?
« Reply #5 on: February 06, 2015, 10:14:22 pm »
This is real hardware, an actual jaguar. I'd rather not use buttons. :-/

Louis Tully

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1800
  • Last login:February 13, 2015, 09:41:03 pm
Re: joystick with 8 switches?
« Reply #6 on: February 07, 2015, 03:44:34 am »
.
« Last Edit: February 12, 2015, 07:31:50 pm by Louis Tully »

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: joystick with 8 switches?
« Reply #7 on: February 07, 2015, 12:15:27 pm »
The first ideas that pop into my head to do it mechanically with only the 4 switch type joystick would be if you could find dpdt switches to replace the standard spdt. I can't do a quick schematic just now but maybe dropping this idea into the mix will trigger some other thoughts.

NickG

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 586
  • Last login:September 26, 2022, 05:25:23 am
  • Dig.
    • My Projects Page
Re: joystick with 8 switches?
« Reply #8 on: February 08, 2015, 01:14:29 am »
yeah, like these?
http://www.ebay.com/itm/4-Cherry-D44-10A-Stainless-Lever-MicroSwitches-125V-250V-Double-Pole-A44L-RWAT-/291298608384
Even with these, you may still find it necessary to add some components. 
If the controller input lines just needs to be pulled high or low, you will probably be able to do this with 7400 or 7408, and AND or NAND the UDLR N.O or N.C. contacts pairs per diagonal.  You may have to also get the controller pcb to ignore the UDLR inputs during a diagonal. 
4066'es may be helpful here and would work even if you have separate grounds, etc on the jaguar pcb.   
 
« Last Edit: February 08, 2015, 01:16:06 am by NickG »

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: joystick with 8 switches?
« Reply #9 on: February 08, 2015, 05:06:56 am »
yeah, like these?
http://www.ebay.com/itm/4-Cherry-D44-10A-Stainless-Lever-MicroSwitches-125V-250V-Double-Pole-A44L-RWAT-/291298608384
Even with these, you may still find it necessary to add some components. 
If the controller input lines just needs to be pulled high or low, you will probably be able to do this with 7400 or 7408, and AND or NAND the UDLR N.O or N.C. contacts pairs per diagonal.  You may have to also get the controller pcb to ignore the UDLR inputs during a diagonal. 
4066'es may be helpful here and would work even if you have separate grounds, etc on the jaguar pcb.

I was going to suggest a straight up 74HC154 which will definitely get the behavior you want but I realized this was going into a Jaguar pad, not a keyboard encoder. Looking at the schematic for the Jaguar, it appears the joypad is made up of a scanning matix, rather ugly to hack into. So I would say use a 74HC154 with a pair of 74HC32 or a three 74HC154's, but that would be an intimidating solder job for a beginner. A *154 with 3 quad buffers would do the trick too, not sure which one would be used off the top of my head though.... Still soldering hell.

A pair of 3:8 demultiplexers and maybe a pair of OR gates might do the trick. Don't feel like looking those part numbers up right now though

Something like an Atmega or PIC would have absolutely no problem keeping up unless the strobe clock is insane. The wiring would certainly be manageable. It would have the added benefit at not chopping up a Jaguar controller necessarily either. But the programming of such a toy might scare a person though (don't use the crappy Arduino, you don't need all that overhead).

All of the solutions I tried to come up with in my head take care of handling with the UDLR  conditions correctly.

« Last Edit: February 08, 2015, 02:22:06 pm by SavannahLion »