Search Unity

Resolved Test project for input?

Discussion in 'Input System' started by idbrii, Nov 13, 2020.

  1. idbrii

    idbrii

    Joined:
    Aug 18, 2014
    Posts:
    51
    Does any one have a test project for verifying that Unity Input works as expected?

    I want something I can make standalone builds for multiple platforms to verify input behaviour.

    I found this one Unity-Input-System-Controller-Test, but it doesn't compile on 2019.4.7f1 (it was made with 2019.1.1f1, so not sure why). Also, it looks like it's only showing pressed instead of up/hold/down states.

    I'm actually looking for something for the legacy input system, but would be interested in new input system test projects too.
     
  2. idbrii

    idbrii

    Joined:
    Aug 18, 2014
    Posts:
    51
  3. idbrii

    idbrii

    Joined:
    Aug 18, 2014
    Posts:
    51
    The new input system (now?) comes with a test project.

    1. Window > Package Manager
    2. Input System > InputDeviceTester > Install
    3. Click the asset to download the unitypackage
    4. Create a blank Unity project and import Input System and the downloaded unity package.
    5. Open the InputDeviceTester scene.

    Doesn't seem like it supports gamepad type detection (the dropdown includes ps4 even though I don't have one connected), but this seems pretty useful for testing the new input system on multiple platforms.

    upload_2020-12-30_9-45-56.png

    upload_2020-12-30_9-46-33.png