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: MAME keys - encoder question  (Read 1586 times)

0 Members and 1 Guest are viewing this topic.

Ash...Housewares

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 12, 2006, 02:47:09 pm
  • Who wants some?!
MAME keys - encoder question
« 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
"Sure, I could have stayed there.  Could have even been king.  But in my own way, I am king.  Hail to the king baby."

Stobe

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 891
  • Last login:March 14, 2025, 10:01:03 pm
  • Don't make a fuss, I'll have your Spam!
Re: MAME keys - encoder question
« Reply #1 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

Ash...Housewares

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 12, 2006, 02:47:09 pm
  • Who wants some?!
Re: MAME keys - encoder question
« Reply #2 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
"Sure, I could have stayed there.  Could have even been king.  But in my own way, I am king.  Hail to the king baby."

AlanS17

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5382
  • Last login:December 02, 2019, 08:35:48 am
  • I won't even pretend to be clever...
    • AlanS17
Re: MAME keys - encoder question
« Reply #3 on: July 25, 2005, 06:32:56 pm »
What brand and model is it? Or is it just a glorified keyboard hack?


Ash...Housewares

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 12, 2006, 02:47:09 pm
  • Who wants some?!
Re: MAME keys - encoder question
« Reply #4 on: July 25, 2005, 07:41:11 pm »
It's one of those "Two Bit Score, Inc." boards form the wolf man.

-Ash
"Sure, I could have stayed there.  Could have even been king.  But in my own way, I am king.  Hail to the king baby."

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re: MAME keys - encoder question
« Reply #5 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.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: MAME keys - encoder question
« Reply #6 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.

Ash...Housewares

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 12, 2006, 02:47:09 pm
  • Who wants some?!
Re: MAME keys - encoder question
« Reply #7 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?
« Last Edit: July 26, 2005, 10:15:46 am by Ash...Housewares »
"Sure, I could have stayed there.  Could have even been king.  But in my own way, I am king.  Hail to the king baby."

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: MAME keys - encoder question
« Reply #8 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.
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.

Ash...Housewares

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 12, 2006, 02:47:09 pm
  • Who wants some?!
Re: MAME keys - encoder question
« Reply #9 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
"Sure, I could have stayed there.  Could have even been king.  But in my own way, I am king.  Hail to the king baby."

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: MAME keys - encoder question
« Reply #10 on: July 26, 2005, 11:06:56 am »
At least for MAME and most other EMU's
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.