Use arduino to read 5 way button via multiple resistors...

See http://www.instructables.com/id/Accessing-5-buttons-through-1-Arduino-pin-Revisi/?ALLSTEPS