Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Ash...Housewares on July 25, 2005, 06:09:13 pm

Title: MAME keys - encoder question
Post by: Ash...Housewares on July 25, 2005, 06:09:13 pm
I have a keyboard encoder that doesn't have the <up> <down> <left> <right> connections on it.  Should I be concerned that this doesn't allow me to set my controls to the MAME defaults?

I know that many game's controls are reprogrammable but I understand that some are not.  If I use this encoder, will I be missing out on some gaming glory?

Thanks,
-Ash
Title: Re: MAME keys - encoder question
Post by: Stobe on July 25, 2005, 06:21:28 pm
Is the encoder re-programable?  If so, you can map the inputs to the keys you want.

If not (or if you're not sure), you should be able to set the controls inside Mame (or whatever emulator) to the inputs you do have.

With the availability of several quality encoders out there for good prices, how did you end up with the one you have?  (Just curious, no offense intended of course).

-Stobe
Title: Re: MAME keys - encoder question
Post by: Ash...Housewares on July 25, 2005, 06:31:05 pm
Unfortunately, it's not re-programmable.

No offense taken.  I have this encoder because I didn't have much money when I bought it off e-bay almost a year ago and just assumed (like an idiot) it would have those inputs, but it didn't. :-[

So, you think I can get away with playing all of the games if I just take a litte time to remap the keys?

-Ash
Title: Re: MAME keys - encoder question
Post by: AlanS17 on July 25, 2005, 06:32:56 pm
What brand and model is it? Or is it just a glorified keyboard hack?
Title: Re: MAME keys - encoder question
Post by: Ash...Housewares on July 25, 2005, 07:41:11 pm
It's one of those "Two Bit Score, Inc." boards form the wolf man.

-Ash
Title: Re: MAME keys - encoder question
Post by: cdbrown on July 26, 2005, 02:43:58 am
you can change your mame defaults to suit the outputs of the encoder  ;D

this is taken from the standard Hotrod ctrlr file in mame32
         <port type="P1_JOYSTICK_UP">
            <newseq type="standard">KEYCODE_8_PAD</newseq>
         </port>
         <port type="P1_JOYSTICK_DOWN">
            <newseq type="standard">KEYCODE_2_PAD</newseq>
         </port>
         <port type="P1_JOYSTICK_LEFT">
            <newseq type="standard">KEYCODE_4_PAD</newseq>
         </port>
         <port type="P1_JOYSTICK_RIGHT">
            <newseq type="standard">KEYCODE_6_PAD</newseq>

The encoder they have in the Hotrod doesn't output the normal Up, Down, Left, Right like the Ipacs but instead uses the numpad for directions.
Title: Re: MAME keys - encoder question
Post by: Lilwolf on July 26, 2005, 08:30:43 am
its also super easy to just change it inside of mame.  Change for all games and your fine.
Title: Re: MAME keys - encoder question
Post by: Ash...Housewares on July 26, 2005, 10:01:02 am
cdbrown and Lilwolf (or, I suppose, anyone else who knows  :) ),

Does that mean I have to go through and manually change it for all of the games?
Title: Re: MAME keys - encoder question
Post by: Tiger-Heli on July 26, 2005, 10:45:02 am
cdbrown and Lilwolf (or, I suppose, anyone else who knows  :) ),

Does that mean I have to go through and manually change it for all of the games?  Is there an 'apply to all games' option, or a keydef used by the emulator as a whole?
In the TAB menu, there's "Input : All Games"  There also a way to change it for all games using config files, but you would need to refer to www.mameworld.net/easyemu for instructions.
Title: Re: MAME keys - encoder question
Post by: Ash...Housewares on July 26, 2005, 11:03:22 am
So I don't have to miss out on any games and can adjust without too much hassle.  Awesome!

Thanks,
-Ash
Title: Re: MAME keys - encoder question
Post by: Tiger-Heli on July 26, 2005, 11:06:56 am
At least for MAME and most other EMU's