Fix gamepad API warning.