Added gamepad support