Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Witchboard on October 22, 2004, 11:54:07 pm

Title: Cheap encoder for only 8 inputs?
Post by: Witchboard on October 22, 2004, 11:54:07 pm
Not sure if I want to throw the cash out for something that can support 20+ when I only need 8.  I think I'm going to build my brother a bartop with a 4-way and two buttons.  It will be running DOS 7.1 so it will have to be PS/2.  Any suggestions?
Title: Re:Cheap encoder for only 8 inputs?
Post by: brained on October 22, 2004, 11:59:41 pm
Keyboard hack !! ;)
Title: Re:Cheap encoder for only 8 inputs?
Post by: SirPeale on October 22, 2004, 11:59:52 pm
Keyboard hack.  Hands down.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Trenchbroom on October 23, 2004, 12:20:54 am
Or the good 'ol gameport Sidewinder control pad hack.  Should be easy to find one Sidewinder in a thrift store or used computer shop.  Lot less messy then a keyboard hack.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 24, 2004, 02:10:01 am
I've never done a keyboard hack.  Any docs on how to do such a thing?  I'll keep an eye out for some gameport sidewinders also.  I guess I would have to get DOS drivers for those.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Hiub on October 24, 2004, 02:12:55 am
A keyboard hack is much more of a headache than you should go through for 8 inputs. Get a sidewinder, and you will not go wrong. There are points in the pcb ready to solder to and they are even labeled!! Can't get much easier than that! Search around, there are many tutorials on how to do so as well.

Enjoy, Fred.
Title: Re:Cheap encoder for only 8 inputs?
Post by: SirPeale on October 24, 2004, 09:22:33 am
He'll need to dig up game port drivers if he doesn't have them already; the keyboard hack doesn't need them.

Keyboard hack, esp for eight inputs, wouldn't be hard at all.  A lot of people  map the entire keyboard, and that's not necessary.

I take the mylar piece and seperate them.  Then take a multimeter (one with continuity testing is  best) and place the lead on which key I want to use.  Then the other lead on the "finger" that connects to the PCB.  In this way I can  map out very quickly just those keys I want to use.  

On my last one it was very easy, since it was all based on a matrix.  I chose one "finger" to use as a "ground" and selected the other inputs based on what worked with that input.  Since my keyboard matrix was based on a 7x16 I based it on the keyboard arrows + a few for buttons, and then another "ground" finger for the coin inputs (since 5 & 6 shared that finger).

I'm making it sound kind of complicated, but it's really easy.
Title: Re:Cheap encoder for only 8 inputs?
Post by: whammoed on October 24, 2004, 12:22:04 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)
Or if you decide to hack your own, let me know.  I have the maps for 9 different keyboards...I may have the one you will be doing.
Title: Re:Cheap encoder for only 8 inputs?
Post by: MonitorGuru on October 24, 2004, 12:33:16 pm
The problem with hacking a keyboard like Peale describes it is that you are using non standard keys and must therefore remap everything in Mame.  Also, you no longer have stanard mappings for menu programs, e.g. a menu program such as ArcadeOS that assumes cursor key movements for the joystick and p1/p2 start buttons on #1 and #2.

Yes, Peale's method IS the easiest keyboard hack, but be aware of the mapping changes.


For only 8 inputs, I too would go with keyboard hack, or if using windows, I'd hack a Gravis USB gamepad (10 inputs)  But be aware you will need another method of selecting games if your front end doesnt allow you to remap keys to do different functions.
Title: Re:Cheap encoder for only 8 inputs?
Post by: SirPeale on October 24, 2004, 12:42:17 pm
Well, you can just use the Mame defaults, but you'll have to map more keys.
Title: Re:Cheap encoder for only 8 inputs?
Post by: GadgetGeek on October 24, 2004, 01:05:12 pm

I take the mylar piece and seperate them.  Then take a multimeter (one with continuity testing is  best) and place the lead on which key I want to use.  Then the other lead on the "finger" that connects to the PCB.  In this way I can  map out very quickly just those keys I want to use.  



I used this method and it only took me about 15 minutes to determine which *fingers* I needed. IIRC, I did about 15 keys worth.  I mapped the mame default keys so no remapping was necessary.  Another 10 minutes or so to cut a bunch of wires, probably 15 minutes to label each wire (for future reference) and 15 minutes to do the soldering.  So roughly an hour of my time.  What is an hour of your time worth?  If it is worth a lot, then spring for the commercial encoder.
Title: Re:Cheap encoder for only 8 inputs?
Post by: JoyMonkey on October 24, 2004, 01:08:42 pm
If you're only going to be using a 4-way joystick and two fire buttons, you shouldn't have to worry about key ghosting, so you can hack a keyboard to use the default Mame keys without hassle. I've hacked a couple of these old Dell keyboards (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5132754802) - they're very easy to wire, as each key uses an individual switch right behind the key so there's no need to map connections.
I've never tried hacking a Sidewinder, but it sounds like it might be the easiest option.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Chris on October 24, 2004, 01:44:29 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)
Or if you decide to hack your own, let me know.  I have the maps for 9 different keyboards...I may have the one you will be doing.
Hey, Whammoed, that is really nice clean work on that keyboard hack!
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 24, 2004, 02:39:06 pm
Thanks for the advice everyone.  I'll go out to the garage and see what junker keyboards I have to tear a part.  Whammoed, I'll get with you on the keyboard that I find and maybe you have the map.  I agree with Chris that your keyboard hack is really nice.  I'll keep an eye on it and if I become too frustrated I may have to snag yours off eBay.  ;D  I appreciate all the help.
Title: Re:Cheap encoder for only 8 inputs?
Post by: SteveJ34 on October 24, 2004, 03:05:03 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)
Or if you decide to hack your own, let me know.  I have the maps for 9 different keyboards...I may have the one you will be doing.

Did you create the keyboard wire map yourself and if yes, would you consider posting a link to it?

I'm working on a couple of bartops for xmas presents and was planning to go the keyboard hack route in place of buying a commercial encoder.

From the looks of the pic in the auction, it appears you have already created a nice map of the default keys in mame.

I look forward to your reply.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Bgnome on October 24, 2004, 03:16:25 pm
if you dont have the exact same keyboard/chipset then anyone elses keymap is completely useless to you.  as mentioned before, you will most likely have to reassign the mame keys in order to maximize the usability of it.  for example, i have a keybaord encoder mapped out and have found that it only allows for 8 simultaneous inputs.  the chances of the 8 default keys you want to use in mame falling under independent rows (or columns) of the matrix are pretty low.  this is also a good time to point out that you only need 2 simultaneous inputs for joysticks..
Title: Re:Cheap encoder for only 8 inputs?
Post by: whammoed on October 24, 2004, 03:30:31 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)
Or if you decide to hack your own, let me know.  I have the maps for 9 different keyboards...I may have the one you will be doing.

Did you create the keyboard wire map yourself and if yes, would you consider posting a link to it?

I'm working on a couple of bartops for xmas presents and was planning to go the keyboard hack route in place of buying a commercial encoder.

From the looks of the pic in the auction, it appears you have already created a nice map of the default keys in mame.

I look forward to your reply.

I created the map myself and don't mind sharing.  Unfortunately it is in a report format that when exported to anything I could post looks kinda crappy.  I could scan it and create a jpg for you.  As I have said I have 9 maps, look on the keyboard pcb you are using and tell me the manufacturer and model and I will see if I have it.  The map is different for (almost) every different model number of keyboard out there.
Title: Re:Cheap encoder for only 8 inputs?
Post by: SteveJ34 on October 24, 2004, 06:49:46 pm
What package was used to create it?

Title: Re:Cheap encoder for only 8 inputs?
Post by: SteveJ34 on October 24, 2004, 07:06:41 pm
if you dont have the exact same keyboard/chipset then anyone elses keymap is completely useless to you.  as mentioned before, you will most likely have to reassign the mame keys in order to maximize the usability of it.  for example, i have a keybaord encoder mapped out and have found that it only allows for 8 simultaneous inputs.  the chances of the 8 default keys you want to use in mame falling under independent rows (or columns) of the matrix are pretty low.  this is also a good time to point out that you only need 2 simultaneous inputs for joysticks..

I understand that every board is different unless same mfr/model.

He has a basic keyboard layout without all the default keys in Mame defined on it and I thought that would be a nice starting point when I sit down to make my own hacks.
Title: Re:Cheap encoder for only 8 inputs?
Post by: whammoed on October 24, 2004, 07:27:00 pm

Quote
What package was used to create it?



Its an Access database.  I exported one of the reports as a snapshot for you.  You should be able to view it if you have the office suite:

just rename it rmap.snp
Title: Re:Cheap encoder for only 8 inputs?
Post by: SteveJ34 on October 24, 2004, 08:02:01 pm

Quote
What package was used to create it?



Its an Access database.  I exported one of the reports as a snapshot for you.  You should be able to view it if you have the office suite:

just rename it rmap.snp

Worked like a champ.

Thanks.
Title: Re:Cheap encoder for only 8 inputs?
Post by: paigeoliver on October 24, 2004, 10:30:00 pm
My "Galaga" mame was done by hacking some off brand Pc-arcade stick. It was really easy as all the controls on it were already microswitch based.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 24, 2004, 11:35:33 pm
I'm working on a couple of bartops for xmas presents and was planning to go the keyboard hack route in place of buying a commercial encoder.

Exactly my thoughts.  ;D

Quote
Its an Access database.  I exported one of the reports as a snapshot for you.  You should be able to view it if you have the office suite:

Why is it I can never download any attatchments?  I always get an error.

Quote
My "Galaga" mame was done by hacking some off brand Pc-arcade stick. It was really easy as all the controls on it were already microswitch based.

I plan on using a hacked up laptop for my system.  I'm pretty sure it doesn't have a game pad, so a keyboard hack is probably my best option.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Wizard of DelRay on October 24, 2004, 11:42:36 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)

It might fetch more than you expected.  A couple must want it kinda bad as I've been bid against like 5 times today.

Thank me later for getting you a decent price. ;)
Title: Re:Cheap encoder for only 8 inputs?
Post by: gap on October 25, 2004, 11:52:50 am
The IPAC-VE (value edition) is $35 delivered.

What are your eight inputs, btw?  The joystick will take 4 and you said there will be two player buttons.  What are the remaining 2?

Escape button?
Pause button?
Credit (coin1) button?
Player 1 start button?
Player 2 start button?
Title: Re:Cheap encoder for only 8 inputs?
Post by: Shifty on October 25, 2004, 11:59:12 am
A standard joystick in Windows is 8-way plus 4 buttons. You don't need any drivers for that, and you shouldn't need any for DOS mame, it should recognise the joystick. I've never tried pure dos with my joysticks though.

You just need a really basic joystick, or make your own -- I used 4 resistors and 2 relays to make a joystick for my cabinet. It's simple, as long as you have some basic electronics knowledge and are handy with a solder gun!
Title: Re:Cheap encoder for only 8 inputs?
Post by: Bgnome on October 25, 2004, 12:03:39 pm
I have a keyboard hack i never used for sale on ebay.  Don't expect it to go for much so it could save you some time:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6126757950&ssPageName=STRK:MESE:IT)

It might fetch more than you expected.  A couple must want it kinda bad as I've been bid against like 5 times today.

Thank me later for getting you a decent price. ;)

im glad he is getting some amount of credit for all that work.  its already got the terminal strips and soldering, and includes a nice keymap and everything.  $5 for all that would have been a shame..
Title: Re:Cheap encoder for only 8 inputs?
Post by: Tiger-Heli on October 25, 2004, 12:57:14 pm
If you're only going to be using a 4-way joystick and two fire buttons, you shouldn't have to worry about key ghosting, so you can hack a keyboard to use the default Mame keys without hassle.
Not necessarily, but see http://www.mameworld.net/emuadvice/keyhack2.html for all the details.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 25, 2004, 05:57:33 pm
The IPAC-VE (value edition) is $35 delivered.

What are your eight inputs, btw?  The joystick will take 4 and you said there will be two player buttons.  What are the remaining 2?

Escape button?
Pause button?
Credit (coin1) button?
Player 1 start button?
Player 2 start button?

Player 1 start, player 2 start.  I kinda forgot about the admin buttons.  :-[  Will DOS Mame or a front end support two keys together to pop open the emu, or is that strictly with the encoder?  Must beat head against wall now.

Quote
You just need a really basic joystick, or make your own -- I used 4 resistors and 2 relays to make a joystick for my cabinet. It's simple, as long as you have some basic electronics knowledge and are handy with a solder gun!

I've already got a J-Stick I'm going to use.

Quote
Not necessarily, but see http://www.mameworld.net/emuadvice/keyhack2.html for all the details.

Thanks for the link.  I may just bite the bullet and get an economy encoder.  We'll see.

Edit:  Nah, I'll hack a keyboard.  At most it will only be one or two more keys to map.  Besides, I'd like to say that I've done it.
Title: Re:Cheap encoder for only 8 inputs?
Post by: NoOne=NBA= on October 25, 2004, 06:31:14 pm
I much prefer gamepad hacks because all the wiring is already there.
You just have to hook UP to UP, etc... and it all works.
That eliminates the whole "what's this do, where does that go" figuring out phase of the hack.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 25, 2004, 08:11:37 pm
Here's my limitations.  I really don't have an option.  I'm using an old laptop... no game port, and DOS, no USB.  I think that pretty much leaves either a keyboard hack or a PS/2 encoder.  
Title: Re:Cheap encoder for only 8 inputs?
Post by: Bgnome on October 25, 2004, 08:31:51 pm
do you have an available lpt port?  will you be using windows?
if so, you can make a digital CP of sorts by hooking up your microswitches directly to the lpt port and use ppjoy, much like the gameport adapter shifty mentioned.
Title: Re:Cheap encoder for only 8 inputs?
Post by: SirPeale on October 25, 2004, 08:41:36 pm
ArcadeOS supports P1 and P2 together to exit the game.
Title: Re:Cheap encoder for only 8 inputs?
Post by: crashwg on October 25, 2004, 09:05:25 pm
There's a arcade style joystick that someone used to make that had a PS2 port pass-thru connector for your keyboard...  It was programable by holding the button and typing the key on the keyboard...  Can't remember what it was call...  :-\

I'm pretty sure they stopped making them a LONG time ago but I think it had some sort of younger brother sorta thing that was a game pad, not sure if it did the same thing.  Feel free anyone to chime in and tell him what I'm talking about.  Who knows maybe someone's sellin' one on eBay.

[edit]
AHA!  I figgured it out, it's call PowerRamp!  Made by Act-Labs.  There's actually a write up about them on this verry site.  What'ya know.  Go HERE (http://www.arcadecontrols.com/arcade_powerramp.shtml) for more information about it.

Oh and go HERE (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=3677&item=5133776765&rd=1&ssPageName=WDVW) for one that's currently on ebay.  It doesn't have the very important cable but at least we know they're sometimes available, right?

[/edit]

{edit} (yes again...)

Found PowerRamp Mites available!  Check HERE (http://www.act-labs.com/scripts/proddetails.asp?pid=38)

{/edit}
Title: Re:Cheap encoder for only 8 inputs?
Post by: Witchboard on October 26, 2004, 12:05:52 am
do you have an available lpt port?  will you be using windows?
if so, you can make a digital CP of sorts by hooking up your microswitches directly to the lpt port and use ppjoy, much like the gameport adapter shifty mentioned.

Yeah, I'll have the lpt port and a com port, but I'll be running DOS.

Quote
ArcadeOS supports P1 and P2 together to exit the game.

Cool.  That's what I was looking for.  Thanks Peale.

Quote
Found PowerRamp Mites available!  Check HERE

Very interesting.  Thanks crashwg.
Title: Re:Cheap encoder for only 8 inputs?
Post by: Tiger-Heli on October 26, 2004, 06:56:42 am
ArcadeOS supports P1 and P2 together to exit the game.
So does MAME.

My recommendations - If this is just for MAME (or other programmable emulators), go with a keyboard hack.

The power-ramp MITE is workable, but by the time you figure in E-bay hassles (no set price), shipping, and possibly difficultly finding drivers, it might not be the best choice.

Finally there's the KeyWiz ECO from www.groovygamegear.com.  For $26.95 plus shipping, you get a full-featured programmable encoder, but you have to solder, but you do with a keyboard hack also.