Bindings
Create and edit the bindings that connect actions to controls, and understand how the Input System resolves them.
A binding connects an action to one or more controls, identified by a control path. Bindings are either simple or composite. You add and edit them in the Input Actions Editor window or in code, and the Input System resolves them to the devices connected at runtime.
| Topic | Description |
|---|---|
| Introduction to bindings | Understand how bindings connect actions to controls, and the difference between simple and composite bindings. |
| Composite bindings | Combine several controls into one value, and choose from the available composite types. |
| Composite types reference | Find the parts and parameters of each composite type. |
| Add, duplicate, or delete a binding | Add, duplicate, or delete bindings in the Input Actions Editor window. |
| Select a control for a binding | Choose the specific control that a binding is bound to, such as a specific button or stick on a gamepad, or a specific keyboard key. |
| Edit composite bindings | Assign controls to a composite's parts and change its type. |
| Group bindings to control schemes | Group related bindings by device type, so that you can enable or disable groups of bindings. |
| Binding resolution | Understand how the Input System resolves binding configurations to the connected input devices. |
| Restrict binding resolution to a specific device | Specify which devices a binding resolves to. |
| Binding conflicts | Understand how the Input System resolves conflicting or ambiguous situations, such as when multiple bindings map to the same action. |
| Initial state checks | Understand how the Input System handles a control that's already pressed when an action is enabled, and how to change this behavior. |