“Finish him” with just a press of a button.
When it comes to action-packed fighting games like Mortal Kombat, a series of moves are required to do battle, or successfully at least. It doesn’t just stop at kicks and punches either; in fact, an experienced gamer knows that in order to hear the infamous words “finish him/her,” combinations of these commands are necessary. These combo moves require a player to press the proper buttons at the right time and in the correct order. Maker Eduardo Zola realized that there had to be an easier way to just release a super combo against an opponent with a single button. And, he did just that.
In a project he calls Mortal Kombat Macro Keys, or MK MK for short, the Maker decided to modify his dual-shock PlayStation 3 controller to simulate the buttons being pressed for him. This, of course, allows him to forgo countless hours of memorizing tricks, and continue take down his opponents in a more efficient and expedited manner.
“It is not something that you should always use, but sometimes worth to de-stress. Especially when you are not a great player,” he notes.
Zola was able to accomplish this impressive feat by tearing down his game controller, and utilizing an Arduino Uno to power the project. (The Maker does reveal that a standalone ATmega328 can be used as well.) Upon dissecting the PS3 accessory, the Maker found a pair of circuit boards connected by a ribbon cable with each individual pad for this cable appropriately labeled with a corresponding controller button. As you can imagine, this made it relatively easy to then hack the controller. The Maker went on to solder the various colored wires to these pads.
“Each wire is then broken out on the breadboard. The signal from each button is run through a 4n25 optoisolator. From there the signal makes its way back to various Arduino pins. The 4n25 chips keeps the controller circuit isolated from the Arduino’s electrical circuit,” Hackaday’s Rick Osgood explains.
A pair of push buttons, which are mounted to the controller, are connected to the Arduino. The ATmega328 based board senses each time a button is pushed and simulates the pressing of various controller buttons in a pre-programmed order. Zola mentions that more buttons can be added, however it will require additional wires and and optcouplers. While the mod appears to be catered to Mortal Kombat play, the controller can actually be used for a wide-range of games.
Looking to mod your controller? Head on over to the Maker’s official page for a step-by-step breakdown of the build. Meanwhile, for you Destiny fans out, you’ll also appreciate this recent auto-leveling hack as well.