Add support for debug mode and directional input from keys

The standard support is just the joystick. Both modes should be
supported so users can still use the D-pad, if desired.