Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3648859 - 09/22/12 06:40 AM keyboard hack  
Joined: Sep 2012
Posts: 9
MrLe Offline
Junior Member
MrLe  Offline
Junior Member

Joined: Sep 2012
Posts: 9
Hey guys I dont know if this topic has been brought up already but I cant find it. I'm building a pit for mechwarrior online and want to hack a keyboard to work with buttons in the pit. can any one point me in the right direction thanks?

Inline advert (2nd and 3rd post)

#3648873 - 09/22/12 07:41 AM Re: keyboard hack [Re: MrLe]  
Joined: Dec 2010
Posts: 134
choowy Offline
Member
choowy  Offline
Member

Joined: Dec 2010
Posts: 134
Here's what I did and it works well, can be a PS2 or USB keyboard. It may depend on how the keyboard interface board is connected to the keyboard membrane as to how easy it is to connect, but old keyboards are a dime a dozen so get a few and use the easiest one.




Just connect a wire to each tab on the keyboard chip and to the terminal strip. Label them ABC... 123... and then work out which combo makes a key stroke/command. eg A3 connected is the letter "Y".

Remember a terminal will have more than one wire connected to it.

I traced the lines on the membrane to work out a matrix so I knew which combos were which.

I guess you can probably use something like Propnut and Dud used as well (Teensy ++)as a multiple input interface device.

#3648973 - 09/22/12 01:23 PM Re: keyboard hack [Re: MrLe]  
Joined: Nov 2005
Posts: 557
GrizzlyT Offline
Member
GrizzlyT  Offline
Member

Joined: Nov 2005
Posts: 557
Sterling Heights, Michigan
Yep, made many of those type back in the day.

Just remember that you are limited to using ONLY momentary contact switches, as they replicate keyboard switches.
Toggles, rotaries, slides, are all ON contact switches and your PC will see them as stuck keys.

Also, remember to buy 2 or 3 pole switches, if you have to add a CTRL, or SHFT, or ALT to you keystroke.
One pole for the keypress and one pole the altering keypress. You can't tie them together on the same pole, or you can end up with ghost keyresses that drive you crazy trying to find.

Which is the reason most of us gave up on these type of controllers a while back....they're just too limiting.
It's very difficult to replicate a cockpit, when all you get is momentary push buttons.
I guess if you're doing a Mech, or a Starfury, you can work around it by coming up with your own pit layout.

They are the cheapest and fairly easy to make (if you have a bit of soldering skills).
Just so you realize the limitations. smile


Grizzly's Comanche Simulator
"Fear is the mind killer. - Frank Herbert"
#3649012 - 09/22/12 03:03 PM Re: keyboard hack [Re: MrLe]  
Joined: Sep 2012
Posts: 9
MrLe Offline
Junior Member
MrLe  Offline
Junior Member

Joined: Sep 2012
Posts: 9
Thanks for the advice guys. On the strip theres a a ground where should I place the ground on the terminal strip?

#3649326 - 09/23/12 07:02 AM Re: keyboard hack [Re: MrLe]  
Joined: Jun 2012
Posts: 66
Apache600 Offline
Junior Member
Apache600  Offline
Junior Member

Joined: Jun 2012
Posts: 66
Sacramento, CA
Here's what i did.



Just spliced all the lines and soldered it to a breadboard. Worked out pretty well

#3649336 - 09/23/12 08:45 AM Re: keyboard hack [Re: MrLe]  
Joined: Dec 2010
Posts: 134
choowy Offline
Member
choowy  Offline
Member

Joined: Dec 2010
Posts: 134
Originally Posted By: MrLe
Thanks for the advice guys. On the strip theres a a ground where should I place the ground on the terminal strip?


Not sure what you mean, what you'll end up with is 2 groups of inputs. One represents one layer of the key contact sheet and the second is the other. There's no common or ground as such.

There's a great section at this site here


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0