Rudimentary gamepad support

Added basic gamepad / joystick support (only horizontal movement)