Added gamepad api for manual control