The MAKERPad code.
Just click download zip on this repository and then in the Arduino IDE Click Tools -> Libraries -> Import and select the zip downloaded.
The idea for the multiple buttons on one line found at: http://forum.arduino.cc/index.php?topic=8558.0