Padawan Pan-Galactic Sketch
Based on DanF's PADAWAN sketch for PS2 controllers, this sketch is intended to allow the use of PS2, PS3, PS4 or XBox 360 controllers depending on compile options set at the start of the sketch.
Tested with an Arduino Mega ADK, Padawan Shield, AZIO Class 1 Bluetooth USB Dongle, PS4 Controller, Heltec OLED, two WTV020SD-16P audio modules.