Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: danfman on May 27, 2009, 01:35:28 pm

Title: joytokey, mame compatible?
Post by: danfman 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?
Title: Re: joytokey, mame compatible?
Post by: gonzo90017 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
Title: Re: joytokey, mame compatible?
Post by: headkaze 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