Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Why Unity reads no input from a detected Generic USB Joystick?

Discussion in 'Input System' started by Solidcomer, Sep 7, 2023.

  1. Solidcomer

    Solidcomer

    Joined:
    Sep 12, 2017
    Posts:
    95
    Hello,
    I'm using Unity 2021.3 LTS and the latest input system.
    Please see the created mappings and actions shown in the attached screenshots.

    The Generic USB Joystick is similar to a PS2 gamepad with joysticks on it, the joystick actually does exactly what the directional buttons do. Unity Input Debugger can read the input of the joystick (-1, 1), and it can be detected when Input System action windows is listening, that's how it's simpliy configurated.

    When the game is running, keyboard Vector2 input can be read correctly, and the character moves, but there's just no input read from the joystick. It works fine in Windows joystick test and other games.

    Please help, thanks very much.
     

    Attached Files: