Search Unity

Question [Old Input System] Reliable way to get Steam Input triggers as separate axes?

Discussion in 'Input System' started by ASymShade, Dec 7, 2023.

  1. ASymShade

    ASymShade

    Joined:
    May 18, 2018
    Posts:
    6
    Hi,

    When running in Steam using the old input system, it seems that the left and right triggers of non-XInput devices (tested the Switch Pro Controller) both map to the axis "joystick 1 analog 2" (left trigger input is a positive value, right trigger input is a positive value). This seems to make it logically impossible to fully disambiguate input between the two (e.g. if the left trigger is held down and the right trigger is newly pressed, we can't know if the left trigger was released or not).

    Is there any method of getting these as independent axes?

    Thank-you