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: joytokey, mame compatible?  (Read 4498 times)

0 Members and 1 Guest are viewing this topic.

danfman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:November 14, 2009, 10:26:45 pm
joytokey, mame compatible?
« on: May 27, 2009, 01:35:28 pm »
The default to save or load a game in mame is F7 and Shift F7.  I changed this so I could use my joystick/buttons.  But after you initiate a save or load you then have to "select position to load/save from" but then I have to use a number key from the keyboard, which kind of defeats the purpose of using the joystick/buttons to save/load.

To "select position to load/save from" using the joystick/buttons I tried to use Joytokey.  I tested Joytokey with notepad and it works well, but when I use Mame it has no effect.  Also tried Xpadder with the same result.

Is it incompatible?  Is there another way to save/load using the joystick/buttons?
"It depends on how you define alone…" –Bill Clinton

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: joytokey, mame compatible?
« Reply #1 on: May 27, 2009, 01:50:59 pm »
Joytokey and xpadder hasn't been working for a while. There is a compiled version of mame that is compatible with xpadder.
You can find it here. http://blackhole.ipbfree.com/index.php?showtopic=269&hl=mame

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: joytokey, mame compatible?
« Reply #2 on: May 28, 2009, 07:57:04 am »
An easier way is to compile Mame with DirectInput turned on. To do it open src\osd\windows\input.c and change

Code: [Select]
// For testing purposes: force DirectInput
#define FORCE_DIRECTINPUT 0

to

Code: [Select]
// For testing purposes: force DirectInput
#define FORCE_DIRECTINPUT 1