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: Joycodes and Emulators  (Read 1233 times)

0 Members and 1 Guest are viewing this topic.

Unkis17

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:March 24, 2017, 12:03:37 am
  • I'd keep on building if i had the space
Joycodes and Emulators
« on: July 21, 2006, 09:21:25 am »
Hey All,

  I recently picked up Andy's UltraStik and I can say I am very happy, though I'm thinking restrictor plate as there is a lot of throw to this joy and it only requires about 1/8" of movement for the PC to register the movement...

Either way.  I'm working on making a CP without an I-PAC and just using the UltraStik and 8 buttons.  I have been most successful up to this point with Mame Ctrlr files (using ver .71) and Mamewah FE ver (1.61 b10) with all the JOYCODE assignments.  I'm ready to add more complications... other emulators.

Most of the popular emulators have been recompiled to accept the ESC key to exit the program, but I have no ESC key on my joy.  I have been using Button 8, assigned P when hit solo, as a shift key in combo with othey key combos (programmed via bollean expressions in the ini files).  Is there any way to duplicate this for the Nes, Snes, Gens and Zinc emulators?  Or will I have to utilize a program like Joy to Key?  I have never used these, but from what I have read if I go this route I wasted my time rewriting those Ctrlr files?

Can anyone shed some light on this for me?

Thanks

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
Re: Joycodes and Emulators
« Reply #1 on: July 21, 2006, 09:34:14 am »
I believe the MALA frontend can trap key presses to stop it from being sent to an emulator (ex: "P") and send a designated keypress to the emulator instead (ex: "ESC").

http://mala.arcadezentrum.com/hotkeys.html

Not sure if this is what you are asking for exactly though .....
« Last Edit: July 21, 2006, 09:50:38 am by unclet »

stoli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:September 12, 2010, 09:38:38 pm
    • Stoli's World
Re: Joycodes and Emulators
« Reply #2 on: July 21, 2006, 03:31:28 pm »
Sorry .. Posted this to the wrong thread.
« Last Edit: July 21, 2006, 03:33:24 pm by stoli »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Joycodes and Emulators
« Reply #3 on: July 21, 2006, 06:23:44 pm »
Well if you are running xp, I would suggest wriing an ahk script that simply polls the joystick and presses the "esc" key when those buttons are pressed.  Since you always want to use the same combo to exit, it should be fine to let it run all the time.  Also since the ahk will NOT block the pressing of the joystick buttons, it won't affect your ctrlr files either. 

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
Re: Joycodes and Emulators
« Reply #4 on: July 21, 2006, 09:12:53 pm »
What if you change emulators and the new emulator has yet another different key sequence to cause the emulator to exit?