get direction input from joystick as enum (left, right, up, down, and none)

Dependents:   snake

shortlog@d8f0c4ba09cc: not found in manifest