Search Unity

Xiaomi Note 9 and 10 reports gamepad

Discussion in 'Xiaomi' started by creat327, Apr 30, 2021.

  1. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,756
    Hi

    For some reason, Xiaomi Note 9 and 10 (and probably more) report they are running a gamepad even when none are attached. This is problematic because the game logic in my case is to detect if a gamepad is connected and use it, or otherwise give the accelerometer option.

    So far I've only seen this happening on Xiaomi and I googled it and it seems it's been a known issue for years.

    This also messes up Rewired package, which using a ReInput.controllers.joystickCount returns a 1, even though none are attached to the device.