2 button concurrent press

Hello,

I wanted to ask if there is a way to do 2 buttons concurrent press? Like pressing Button North and Button East together input detection within InputSystem rather than creating a custom one.

Thank you

Hi Marchall,

This does seem to be somewhat achievable using the Input System, on creating a new action you can ‘Add Button with One Modifier Composite’ like in the image attached. There is a known limitation on this though that Unity are aware of:

Actions cannot currently “pre-empt” each other’s input. Meaning that it is currently not possible to “consume” input from one action to prevent it from triggering input on another action.

  • A common scenario is having, for example, a binding for “A” on one action and a binding for “SHIFT+A” on another action. Currently, pressing “SHIFT+A” will trigger both actions.

Here’s the link to the page I’ve taken that exerpt from if you want a bit more information on it: Known Limitations | Input System | 1.1.1

I hope this helps!