Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Consume Rebind input

Discussion in 'Input System' started by xXApOXx, Jan 19, 2023.

  1. xXApOXx

    xXApOXx

    Joined:
    Feb 9, 2015
    Posts:
    76
    Hi,

    Is it possible to consume the input used while rebinding?
    If I rebind with the "B" button on my Xbox gamepad, it will trigger the action UI/Cancel and close my rebinding menu.

    For now, my only workaround is to disable the Input module action set before rebinding and wait for 0.1sec after completing the rebind to enable it again because if I enable it in the OnComplete callback, cancel will be triggered.

    Thx.
     
  2. rdjadu

    rdjadu

    Joined:
    May 9, 2022
    Posts:
    99