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: Cheap Shift button idea for keyboard hacks  (Read 1700 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Cheap Shift button idea for keyboard hacks
« on: December 09, 2002, 02:10:44 pm »
I just had a nifty idea for a Shift button...

For a keyboard hack, ordinarily you woul pick one row of the matrix and use that as the commond ground for each button, and wire the other terminal of each button to a separate column in the matrix.  

To make a Shift button, then, you should be able to run this common wire to the common terminal of a Shift button.  You would then connect the NC terminal to the matrix row you wanted to use and the NO to an alternate row.  Then, when the Shift button was held down, each button would generate a different keycode than normal!

Is there any reason this shouldn't work?

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

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:Cheap Shift button idea for keyboard hacks
« Reply #1 on: December 09, 2002, 02:46:58 pm »
Wow, that seems so simple that you would think it had been tried before and that there would be a reason for it to not work.

It gives me a headache trying to visuliaze the wiring though...
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.

neuromancer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 446
  • Last login:May 10, 2006, 04:26:57 pm
  • Can I Play?
Re:Cheap Shift button idea for keyboard hacks
« Reply #2 on: December 10, 2002, 03:01:58 pm »
I just had a nifty idea for a Shift button...

For a keyboard hack, ordinarily you woul pick one row of the matrix and use that as the commond ground for each button,
Is there any reason this shouldn't work?

--Chris

That would be for a limited control panel, I suppose.

For a 2 stick x 6 button panel, you need to double up on the joysticks (left-right & up-down share columns), and then all the maintenance functions need to share with other already used columns too.

If your matrix had 16 columns (like most do), then if you had 12 player buttons, you would only have 4 open columns, which would be exactly enough for the joysticks, *except* that one of the columns usually only has the two shift keys on the keyboard, and most of the rows have one or more holes in them.

If you were a little careful, you could probably make it work with one players buttons, as long as you were careful to not enable any windows "special" combinations (if you use windows).

Of course if you're using MAME, then you can use *any* key as a shift key already, because they built that into the program.

Bob