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: Wiring Joysticks  (Read 1515 times)

0 Members and 1 Guest are viewing this topic.

rosebudcassidy

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:August 17, 2004, 04:45:43 pm
  • I want my own arcade controls!
Wiring Joysticks
« on: February 11, 2003, 02:53:08 pm »
Well I have my hacked keyboard all mapped out in a Matrix and am willing to live with the number of simultaneous key presses (14).

I am now trying to map out my controls, can someone explain how to map out an 8 way joystick. I think I understand the the diagnol hits two switches how does this get translated in MAME.

Lets say that up is 'N' and right is 'W' does the the 2 o'clock position translate to N + W. How does the wiring work.

I have searched everywhere for details on this topic and have come up short. If anyone has a link to point me to it would be much appreciated.

Nyrine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 19, 2003, 02:43:06 pm
  • I'm a llama!
Re:Wiring Joysticks
« Reply #1 on: February 11, 2003, 02:54:37 pm »
Wire UP to N, and RIGHT to W.

Moving U+R will send both key presses to the PC.

rosebudcassidy

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:August 17, 2004, 04:45:43 pm
  • I want my own arcade controls!
Re:Wiring Joysticks
« Reply #2 on: February 11, 2003, 03:41:00 pm »
Thnaks for the help!

So at any given time I would only be using 2 keys out of my matrix (1 up/down and 1 left/right combined). This means that I can place the up-down keys in a row and the left right in another row, needing a total of 4 keys per joystick. 4 of these keys (2 per joystick) need to be able to be pressed without blocking (including any other player action buttons).

Sorry if I am droning on but I am close to putting it all together, just want to make sure I have this clear.

Nyrine

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 19, 2003, 02:43:06 pm
  • I'm a llama!
Re:Wiring Joysticks
« Reply #3 on: February 11, 2003, 05:20:11 pm »
That sounds right =)

rosebudcassidy

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:August 17, 2004, 04:45:43 pm
  • I want my own arcade controls!
Re:Wiring Joysticks
« Reply #4 on: February 11, 2003, 10:14:06 pm »
 ???

Well I have one more question I am hoping someone can answer. I mapped my keyboard and came up with a 9 X 15 Matrix (15 on Y axis, one row has nothing in it).

According to a tutorial I read at http://www.mameworld.net/emuadvice/keyhack2.html I should be able to score 14 keys out of this.  Number of rows down the side.

Well I am testing it with keyscan and can only get to 10 key presses, any ideas. If I need to buy an I-Pac my project may be on hold for awhile.

Any help would be greatly appreciated. After all that great sodering and wiring I realy was hoping it would work. I know I should have tested before had, but I am a newbie.....

FYI every row of my Matrix has only one key press in it, except the joystick assignments which have two (left/right, up/down)

HELP

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:Wiring Joysticks
« Reply #5 on: February 12, 2003, 11:31:23 am »
Well I am testing it with keyscan and can only get to 10 key presses, any ideas. If I need to buy an I-Pac my project may be on hold for awhile.
Skip a couple meals and you can afford a keywiz- http://www.groovygamegear.com
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.