OK I've been playing around with it for hours, but still can't get it to work right. Here's what I have
- I configured johnny5, downloaded the latest controls.ini file and put in Johnny5\data files directory, I'm using the defaul .lof for now, my lof has lables like "keycode_lshift", "joycode_1_up", etc.
- I currently don't have any ctrlr files used when I use mame (so I just use all the defaults right now). It appears I needed 1 for Johnny5 (and I'm sure I'll need 1 later when I configure more games) so I created a new one (actually copied the existing one for xarcade.cfg) and renamed it to cntrl.cfg and put it in c:\mame\ctrlr\ctrlr.cfg.
- in that .cfg file I have a line similar to the following
<input>
<port type="P1_BUTTON1">
<newseq type="standard">KEYCODE_LSHIFT OR JOYCODE_1_BUTTON1</newseq>
</port>
</input>
- in the Johnny5 options I put "ctrlr" in the "The ctrlr folder you use" option. (note: I also tried putting "ctrlr.cfg" and "c:\mame\ctrlr\ctrlr.cfg")
From my understanding Johnny5 looks at my .lof and sees a "keycode_lshift" lable. It then looks in my cntrl\cntrl.cfg file and sees that "keycode_lshift" is mapped to "p1_button1". It then looks in controls.ini and sees that "P1_button1" should have a label for "Attack" for rom ddsom. It then displays that "attack" label onto the "keycode_lshift" lable.
But when I run "johnny5.exe ddsom" from commandline, it pulls up the right .lof file, and displays things like game name and number of players from the controls.ini file, but for some reason doesn't display any of my labels.
Anybody know what I'm missing? My guess is it's how I'm setting up my cntrlr .cfg file or how I'm referencing that file from Johnny5. Any guesses?