added basic joystick support, needs more work