Added gamepad support.