Main > Main Forum
Bribery for new Mame feature "Shifter Toggle" Help...
RobotronNut:
--- Quote from: Silver on January 27, 2006, 08:26:05 am ---...
seeing as mamedev appear to want to leave it as is (or are uninterested or whatever) how about the next best thing - lets get all the games to have the code available in the driver.
This would make it easy for anyone to just edit a line of code per game to switch the control setup.
...
Of course, the next logical setup would be having code in there for support #3 type that you mentioned above, even if the original game was not.
...
--- End quote ---
if the code for style #3 were enclosed in an #ifdef in all drivers, then no code would have to be changed at all. you'd just need to recompile with a one-word change to your compiler options.
Darth Nuno:
Do you know if there is the specific pathc to fix Out Run & Turbo Out Run games, in order to use the original gear shifter of the cab' ?
Tailgunner:
How hard would it bee to move the micro switch on a Hi/Lo shifter from one end of the stick's travel to the center of travel? As I understand it, a Hi/Lo shifter has the microswitch held open in one position and closed in the other. With the switch in the middle, it would be open 99% of the time. It would momentarily close the switch as you moved the stick past the center to the other position, giving that single keypress the MAME expects for the Hi/Lo shifter function. You would need to watch what position the shifter is in when you're starting the game though, start in the wrong position and it'll be backwards the whole game.
A 4 way shifter could be similarly devised, though it'd take 4 switches to pull off. The switches would need to be placed in between the center and ends of the shifter throws, so that the stick momentarily closed the switches as you moved through the gears. It would close them again as you moved out of a gear, but MAME should ignore those as you were already in that gear.
Act Lab's RS shifter worked this way, and was a godsend in Grand Prix Legends as you could skip gears and eat a sequential shifter user's lunch on slow corners. ;)