Added gamepad

Added gamepad compatibility