Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Multiplayer rebinding- limit binding to a specific gamepad

Discussion in 'Input System' started by lanedhoward, Nov 17, 2023.

  1. lanedhoward


    Feb 11, 2022
    I'm making a local multiplayer fighting game, and I've been working on control rebinding using PerformInteractiveBinding. I've got it all working now, except 1 issue.

    The problem is that while Player 1 is rebinding their controls, if Player 2 presses a button on their controller, it gets received as the new binding for Player 1's controls.

    How can I make the rebinding only accept input from a specific device? I've read the documentation and other forum posts and found nothing.