Main > Software Forum
ctrlr.ini file help...
Minwah:
I'm tearing my hair out with something here...I must be doing something obviously wrong, can someone put me out of my misery!:
I have just installed my pedals (2x analog) which I have working fine. In my ctrlr default.ini I have:
pedal_ini "pedal.ini"
...and in pedal.ini I have:
P1_PEDAL "JOYCODE_1_UP"
P1_PEDAL_EXT "KEYCODE_Y"
P2_PEDAL "JOYCODE_1_DOWN"
P2_PEDAL_EXT "KEYCODE_Y"
P3_PEDAL "CODE_NONE"
P3_PEDAL_EXT "CODE_NONE"
P4_PEDAL "CODE_NONE"
P4_PEDAL_EXT "CODE_NONE"
The problem I have is in Pole Position...for some reason it doesn't automatically set the pedal(s) up, I am thinking because what ever there is in MAME to say 'this game uses a pedal' doesn't work for PolePos (I don't know enough about MAME's code to know how that works). Not a problem I thought, I'll just make a game-specific ctrlr.ini file for PolePos (polepos.ini), but whatever I try I just cannot get it to work! I tried the same as above, I tried 'P1_PEDAL_1' etc - for some reason it *always* uses Left Ctrl and Left Alt keys* (even if I say P1_BUTTON1 "JOYCODE_1_UP" etc)
* I think the ctrlr stuff is being ignored since in the tab menu these inputs are highlighted
I should add that I can get it to work perfectly using the tab input menu, but I don't want to do it that way :P
Anyone ???
ErikRuud:
The inputs setup through the tab menu will override the ctrlr files.
Delete the .cfg file for Pole Position
Minwah:
--- Quote from: ErikRuud on May 24, 2004, 07:05:03 pm ---The inputs setup through the tab menu will override the ctrlr files.
Delete the .cfg file for Pole Position
--- End quote ---
Already did that...polepos.cfg keeps getting generated each time I run Pole Position, but since whatever in the ctrlr file isn't working, it is always setup with the default keys...
Tiger-Heli:
Is pole position the only game not working, or do none of the games read your changes?
I.E. change P1Button1 to KEYCODE_A in default.ini - do all games reflect this change???
Minwah:
--- Quote from: Tiger-Heli on May 25, 2004, 07:34:44 am ---Is pole position the only game not working, or do none of the games read your changes?
I.E. change P1Button1 to KEYCODE_A in default.ini - do all games reflect this change???
--- End quote ---
Well everything seems to work fine (yes changing default.ini works for most games), except PolePos. I expect there are others but this is the only one I've come across so far...
Oh, and I know the polepos.ini file is being read because I entered something that was not understood and mame reported it prior to launching the game.
I guess what I really want to know is: does anyone have an analog pedal working with PolePos using ctrlr files??