Search Unity

Question Changing AxisDeadzone for current device

Discussion in 'Input System' started by wrabenstein, Nov 5, 2020.

  1. wrabenstein

    wrabenstein

    Joined:
    Oct 29, 2020
    Posts:
    5
    I've been stumbling across that issue for several hours but couldn't find a fitting solution.

    What I want is, to access my current device (e.g. Gamepad.current), accessing their processors and editing their AxisDeadzone by using c#.

    However: It is possible to do this by changing the default deadzone
    InputSystem.settings.defaultDeadzoneMin = 0.5f;
    but I couldn't find a solution for each device unless I create a new one.

    Would be great if someone stumbled across that issue and already found a solution for that.