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

Dependents:   snake

Revision graph

The revision graph only works with JavaScript-enabled browsers.