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: Easier, Safer Keyboard hack  (Read 1612 times)

0 Members and 1 Guest are viewing this topic.

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Easier, Safer Keyboard hack
« on: February 28, 2006, 11:24:08 pm »
here's the catch: You need a "clicky" keyboard. Most of them used a solid PCB for all the key switches. These switches each have two visible, large solder points on the rear of the PCB. Solder wires to these points. Attach wires to buttons. Hurray!
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

Tahnok

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:May 28, 2008, 06:09:25 am
  • Error recording error codes. Remaining errors lost
    • Table Arcades
Re: Easier, Safer Keyboard hack
« Reply #1 on: March 01, 2006, 01:20:39 am »
Have you actually hacked one of these and gotten it working? I don't recall any of these keyboards having connectors that would work with modern computers.
Note: Out of town with limited internet access 2-28-08 through 3-16-08

Bartop/Countertop Cabinet Kits For Sale

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Easier, Safer Keyboard hack
« Reply #2 on: March 01, 2006, 01:34:23 am »
I got it to work, yes. Most clicky keyboards use the AT connector

These have identical wiring to standard PS/2 keyboards, and can be converted using one of these

Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

Tahnok

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:May 28, 2008, 06:09:25 am
  • Error recording error codes. Remaining errors lost
    • Table Arcades
Re: Easier, Safer Keyboard hack
« Reply #3 on: March 01, 2006, 01:52:27 am »
I didn't realize they used the same wiring. I have a few of those keyboards sitting around; maybe I will take a look inside. Thanks for the tip.
Note: Out of town with limited internet access 2-28-08 through 3-16-08

Bartop/Countertop Cabinet Kits For Sale

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Easier, Safer Keyboard hack
« Reply #4 on: March 01, 2006, 12:06:17 pm »
May still have ghosting or blocking issues that may or may not be overcome with diodes.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Easier, Safer Keyboard hack
« Reply #5 on: March 02, 2006, 02:47:47 am »
All I've played so far on it is Pac-Man, so I'm not sure
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

Jess--

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 243
  • Last login:April 05, 2023, 09:51:55 am
    • My Botched Cab
Re: Easier, Safer Keyboard hack
« Reply #6 on: March 02, 2006, 05:16:37 am »
I am still using those (old) clicky keyboards...

The solid IBM ones with a nice steel chassis in them, and gold plated switch contacts.

I have tried using other keyboards, but they die after about 3 months use with me, these IBM ones just will not die :@)

(I also use one of the original microsoft intellimouse, again indestructible)

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Easier, Safer Keyboard hack
« Reply #7 on: March 02, 2006, 08:10:21 am »
All I've played so far on it is Pac-Man, so I'm not sure
You will NEVER see it with Pac-Man - ghosting/blocking can ONLY occur when at least three keys are pressed simultaneously (so at least a diagonal and one button).  You will see it in Street Fighter, though.

Basic test is to run ghostkey, press as many buttons as you plan to have on your panel and make sure all the key register and no stray keys register.

If the keyboard is old enough, it may not suffer from this.

I explain it in detail at http://www.mameworld.net/emuadvice/keyhack2.html, but the same methods I mention there also work with newer keyboards, so not much is gained.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

F1r3f1ght3r

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:March 28, 2006, 01:37:27 pm
  • Lurking BYOAC since 2001
Re: Easier, Safer Keyboard hack
« Reply #8 on: March 02, 2006, 08:30:11 am »
HACK A CLICKY?!?!? are you daft?

I still use them at home and at work... not only are they good for typing but should I ever need a weapon.... I'm covered.
If you build a man a fire he will stay warm for a night. If you set a man on fire... he'll stay warm for the rest of his life.

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Last login:August 21, 2015, 03:11:31 pm
  • Friends don't let friends build frankenpanels...
Re: Easier, Safer Keyboard hack
« Reply #9 on: March 02, 2006, 11:51:58 am »
I would be very interested in this! So, do these keyboards still use a matrix, or no? Do you have pictures of the innards of the keyboards. It seems hard to believe that it could be that easy. If it was, there would be no use for keyboard encoders. :)

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Easier, Safer Keyboard hack
« Reply #10 on: March 02, 2006, 12:06:47 pm »
I would be very interested in this! So, do these keyboards still use a matrix, or no?
I'm pretty sure they do - only b/c you need 101 keys and a 12x9 matrix would be easier to support than 101 direct inputs for no gain.

If they are older than around 1988-1991, they may not use blocking, which means you could get more than 18-20 inputs without ghosting thru judicious use of diodes.
Quote
Do you have pictures of the innards of the keyboards. It seems hard to believe that it could be that easy. If it was, there would be no use for keyboard encoders. :)
No offense, but you need to read up more on the hobby -

The KeyWiz Eco no-solder from GGG is $23 with 32 inputs, 24 shifted inputs, programmable through software, and I can just cut up a IDE HD cable and pop it onto the pin header.

With this, I still have to solder wires to two places for each input that I want to use, performance will not be as good, and if I want to play MAME and another program that can't be reassigned to MAME defaults, I'm screwed . . .
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Last login:August 21, 2015, 03:11:31 pm
  • Friends don't let friends build frankenpanels...
Re: Easier, Safer Keyboard hack
« Reply #11 on: March 02, 2006, 12:41:02 pm »
I don't believe you understood my statement. If these keyboards did not use a matrix, then they would be superior to keyboard encoders. Like I said, I find it hard to believe it would be that easy. ;) If the only benefit of these keyboards is solder points, then it isn't worth my time to track one down and buy an adapter.

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: Easier, Safer Keyboard hack
« Reply #12 on: March 02, 2006, 12:55:36 pm »
I don't believe you understood my statement. If these keyboards did not use a matrix, then they would be superior to keyboard encoders. Like I said, I find it hard to believe it would be that easy. ;) If the only benefit of these keyboards is solder points, then it isn't worth my time to track one down and buy an adapter.

If you already have one going spare and want to spend a vast number of hours with a soldering iron then it might be worth it. But you will still get key ghosting and some blocking.

The most cost and time effective way is to buy a key encoder designed for the job.  http://www.groovygamegear.com IMHO the best value bang for buck encoders and at a more or less pocket money price. KeyWiz Eco2 with the no solder option takes a lot of beating.

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Easier, Safer Keyboard hack
« Reply #13 on: March 02, 2006, 01:32:50 pm »
I don't believe you understood my statement.
I'm pretty sure I did, I'm not sure you understood my reply.
Quote
If these keyboards did not use a matrix, then they would be superior to keyboard encoders.
Only in the fact that you would have 101 total available inputs instead of 32 with a KeyWiz or 56 with an I-PAC/4.

Let's say you get one of these keyboards and wire P1B1 to L Ctrl for use with MAME.  Now you want to play some PC app (say a pinball app) that uses Z for P1B1 and can't be reassigned.

You have the following options:

Reconfig MAME so Z is P1B1 and redo your hack (won't work if you run into two apps that you can't re-assign keys in).

Redo your hack so P1B1 is connected to Z before playing pinball, and back to L Ctrl before playing MAME. (Inconvenient to spend 15 minutes with a soldering iron before playing a different game).

Add an additional button on your panel for Z along with the L Ctrl button (could potentially end up with 101 buttons on your CP - not much better than a standard keyboard).

OTOH, with a commercial encoder -

You create a MAME config file with L Ctrl as Terminal 1, and a Pinball config file with Z as Terminal 1, write a software batch file that reprograms the encoder before launching Pinball and programs it back on exit, and then forget about it.
Quote
Like I said, I find it hard to believe it would be that easy. ;) If the only benefit of these keyboards is solder points, then it isn't worth my time to track one down and buy an adapter.
That's what we are trying to tell you.  It isn't worth your time, in the vast majority of cases.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Easier, Safer Keyboard hack
« Reply #14 on: March 02, 2006, 06:25:44 pm »
I'll do another later tonight. I'll take pictures
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.