Search Unity

Question Remove overrides for a device type

Discussion in 'Input System' started by downstroypvp, Dec 4, 2023.

  1. downstroypvp

    downstroypvp

    Joined:
    May 30, 2016
    Posts:
    40
    Hello!

    We have several InputAction assets, each containing several action maps, each containing several actions with several bindings (some composite, some not).

    We supports several devices (Gamepad, Keyboard&Mouse for now, potentially mobile in the future)

    I would like to implement a "restore default" button, that would restore all default values for all actions in our game, but only for keyboard.

    Is there a way to achieve that?

    Thanks