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: Solved an issue with some diagonals not working on my arcade joystick  (Read 5432 times)

0 Members and 1 Guest are viewing this topic.

Crtified

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 07, 2022, 07:05:34 pm
  • I want to build my own arcade controls!
Pre- note: For veterans, this won't be a new issue. Systematic build method would prevent it occurring in the first place. So I present this merely as anecdotal fodder for future searchers.

Situation

In the midst of doing arcade cabinet maintenance, I needed to replace a controller board which ran a cab's arcade controls. After subbing in a new controller board, I had issues with two of the joystick's diagonals not working in games. A lot of Google results regarding problematic diagonals suggested a physical problem. For example: badly aligned stick installation, or restrictor gate, or bad switch. But I knew that in my case it could not be those.

Cause found:

After troubleshooting, I located the cause: the joystick's pinout is, strangely (don'taskmewhy!), DRUL. Interleaved axes. While the controller board, is ordered in the more standard UDLR order. That is to say, paired axes. Normally, you'd expect such differences wouldn't matter - one can simply configure in software, as needed.

The problem here is that the controller board disallows what it thinks of as 'illegal' UD or LR combos. So it simply purges those. Leaving the user in an initially-confusing situation where all four of the main directions, and two of the diagonals, will seem to work perfectly fine - and the other two diagonals (corresponding to the controller board's UD + LR pin combinations), not at all!

Conclusion:

If you're having problems with your joystick diagonals after a new install, check that your joystick's pinout and your controller board's expected pinout match. Particularly in terms of how the axes are paired together. Else situations can arise where all of the individual directions will work perfectly fine, but (some of) the diagonals will not! Hope this helps somebody facing this niche situation in future.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3404
  • Last login:Yesterday at 07:30:57 pm
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #1 on: April 09, 2022, 11:35:05 pm »
Thanks for the post. Interesting issue to get your head around. What joysticks in particular were you having these issues with?
Check out my completed projects!


Crtified

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 07, 2022, 07:05:34 pm
  • I want to build my own arcade controls!
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #2 on: April 10, 2022, 03:14:04 am »
It's a Sanwa joystick. To a DIY Daemonbite adapter. Which makes my issue unusual, because the pinouts should have matched, in theory. My machine is not made for working on, so it's a real pain to get in there and figure out exactly why they didn't - I won't, today. Potential/theoretical causes abound, I suppose.

Anyway, just thought I'd post it. Because while Googling for a solution to issues with diagonals, I came across a number of forum posts describing very similar issues - namely, 2 of the 4 diagonals not working - and very few of them figured out the reason why. After my experiences today, I strongly suspect some of them would have been unknowingly encountering the issue I did.

Namely, a controller board which is actively parsing it's inputs, and disallowing certain combinations, on the basis that it has assigned specific pins as U, D, L, and R.
« Last Edit: April 10, 2022, 03:20:43 am by Crtified »

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3404
  • Last login:Yesterday at 07:30:57 pm
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #3 on: April 10, 2022, 03:24:26 am »
It's a Sanwa joystick. Which makes my issue unusual, because the pinouts should have matched. My machine is not made for working on, so it's a real pain to get in there and figure out exactly why they didn't - I won't, today.

Anyway, just thought I'd post it. Because while Googling for a solution to issues with diagonals, I came across a number of forum posts describing very similar issues - namely, 2 of the 4 diagonals not working - and very few of them figured out the reason why. After my experiences today, I strongly suspect some of them would have been unknowingly encountering the issue I did.

I suspected you were talking about Sanwa's. They are less common of these forums US-based forums, and have the integrated connector.

I am building a cab with Sanwa joys ATM, but still early stages so haven't encountered the interface issue yet.

I am wondering if this is due to joystick X-Y orientation? Also, can it be resolved by physically moving connector pins?

Interested in what you find.
Check out my completed projects!


Crtified

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 07, 2022, 07:05:34 pm
  • I want to build my own arcade controls!
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #4 on: April 10, 2022, 03:38:45 am »
It's a Sanwa joystick. Which makes my issue unusual, because the pinouts should have matched. My machine is not made for working on, so it's a real pain to get in there and figure out exactly why they didn't - I won't, today.

Anyway, just thought I'd post it. Because while Googling for a solution to issues with diagonals, I came across a number of forum posts describing very similar issues - namely, 2 of the 4 diagonals not working - and very few of them figured out the reason why. After my experiences today, I strongly suspect some of them would have been unknowingly encountering the issue I did.

I suspected you were talking about Sanwa's. They are less common of these forums US-based forums, and have the integrated connector.

I am building a cab with Sanwa joys ATM, but still early stages so haven't encountered the interface issue yet.

I am wondering if this is due to joystick X-Y orientation? Also, can it be resolved by physically moving connector pins?

Interested in what you find.

You're quite right, it's probably related to orientation of installation - I have it in the (I think non-default) horizontal alignment.

I have resolved it by taking the 5-wire cable connecting the joystick to the controller board, and swapping two of the wires over (by cutting and resoldering in-situ, which happened to be the easiest method in the moment).  That grouped the directions back into the adjacent pairs LR/UD, from the controller's point of view, and everything is happy again...

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3404
  • Last login:Yesterday at 07:30:57 pm
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #5 on: April 10, 2022, 03:42:18 am »
Very good, and thank you for posting your solution   :cheers:
Check out my completed projects!


Crtified

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 07, 2022, 07:05:34 pm
  • I want to build my own arcade controls!
Re: Solved an issue with some diagonals not working on my arcade joystick
« Reply #6 on: April 10, 2022, 04:22:55 am »
Many thanks good sir  :cheers:

ZephyrResto

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:May 09, 2025, 04:34:25 pm
  • I want to build my own arcade controls!
It's a Sanwa joystick. Which makes my issue unusual, because the pinouts should have matched. My machine is not made for working on, so it's a real pain to get in there and figure out exactly why they didn't - I won't, today.

Anyway, just thought I'd post it. Because while Googling for a solution to issues with diagonals, I came across a number of forum posts describing very similar issues - namely, 2 of the 4 diagonals not working - and very few of them figured out the reason why. After my experiences today, I strongly suspect some of them would have been unknowingly encountering the issue I did.

I suspected you were talking about Sanwa's. They are less common of these forums US-based forums, and have the integrated connector.

I am building a cab with Sanwa joys ATM, but still early stages so haven't encountered the interface issue yet.

I am wondering if this is due to joystick X-Y orientation? Also, can it be resolved by physically moving connector pins?

Interested in what you find.

You're quite right, it's probably related to orientation of installation - I have it in the (I think non-default) horizontal alignment.

I have resolved it by taking the 5-wire cable connecting the joystick to the controller board, and swapping two of the wires over (by cutting and resoldering in-situ, which happened to be the easiest method in the moment).  That grouped the directions back into the adjacent pairs LR/UD, from the controller's point of view, and everything is happy again...

Thank you for this post. Here I am 3 years later with the same problem. I had to mount my ServoStik's orientated 180 degrees from normal to fit into my CP. Can you share which two pins on the cable you switched?

Thank you!
Brett