Accelerator and brake pedal, Arcade, MAME, outrun

Accelerator and brake pedal, Arcade, MAME, outrun

thingiverse

A base plate that ties together two common pedals to create a variable accelerator and brake combo into a USB plug and play controller.Designed to work with a standard Arcade cabinet and can be unplugged and stowed when not in use. Works well with outrun. It returns variable accelerator and brake. It can also provide momentary switch output for games like time crisis.You need two of these per controllerhttps://www.ebay.com.au/itm/204588237713Code runs on an arduino leonardo, heavily inspired by this video which explains how it all works.https://www.youtube.com/watch?v=HO6L_X6NUc0&t=2717sThe attached Throttle.ino file contains my arduino sketch which passes a accelerator and brake value from 0 - 1023, works well in outrun and other driving games.It also returns three digital buttons in case you want a simple button press over an analogue valueA button = acceleratorB button = brakec button = either is pressed (intended to use this for time crisis but it causes problems, having the pedals plugged in when timecrisis loads impacts the gun sights, I think because it has the joystick library loaded) Timecrisis.ino this is a separate code I wrote which works with time crisisJust returns a left Alt keyboard press from either pedal which can be mapped to crouch in MAME. Point your gun away from the screen when mapping. Works well. you will need to change the code for the player 2 pedal set if you use one to return a different key press.A pro micro or functional clone will work well but I used this one:https://www.jaycar.com.au/leonardo-tiny-atmega32u4-main-board/p/XC4431atmega32u4 is the important bit

Download Model from thingiverse

With this file you will be able to print Accelerator and brake pedal, Arcade, MAME, outrun with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Accelerator and brake pedal, Arcade, MAME, outrun.