
We are getting into the game Binding of Isaac, but unfortunately there was no good way to play it on a Mac, beause of poor Xbox 360 controller support. Instead, we made a joystick out of an Arduino Leonardo, and some lovely arcade machine parts – it turned out really nice (functionality wise – you decide if you like the design…) because of the Leonardos ability to act as a native mouse/keyboard/HID device.
Here is the code for anyone to use – it is pretty specific to Binding of Isaac at this point, but should be easy to modify. The game demands 7 buttons, but our stick only has 4, so the last three will be activated by pressing two buttons at the same time. This is probably the most interesting part of the code to look at.
Get the Arduino code here.


