Search Unity

Logic3 old HID USB game controller configured as gamepad

Discussion in 'Input System' started by TheodorGal1977, Apr 7, 2021.

  1. TheodorGal1977

    TheodorGal1977

    Joined:
    Feb 3, 2021
    Posts:
    10
    I have an old USB game controller, named "Logic3" which unity "sees" as a "joystick"/"USB game controller". The problem was that even so, the automatically created HID layout was not correctly catching the values from the "hatswitch" (d-pad in gamepad terminology).

    Following the great advice posted in:
    https://forum.unity.com/threads/con...ystick-for-input-logitech-dual-action.879454/

    I have managed to create an HID layout override that makes unity "see" this controller as a gamepad. Im posting it here in case anyone wants to configure a similarly old USB controller as a nice starting point.

    The uploaded package has been created with Unity 2020.3.1f1 LTS
     

    Attached Files:

    SolAZDev likes this.