New Input System

I’m converting my input to the new unity input system and I’m trying to use composites on the action map to achieve this with no success. What I’m trying to do is perform an event when Left Trigger and Button West are both pressed/held at the same time. I know the event is firing when I set it up with one - Button West, but when I try to have it check for both inputs at the same time it does not work.

Composites aren’t made for this. They are for axis and stuff. Like left-right, up-down, etc.
What you’re trying to do is combos, but there is no official support for those yet AFAIK.

What you can do right now is that you make two actions and in the event where you perform one of the actions you check for the other action manually through the .triggered method.

Unity talked about supporting combos in a later (undisclosed) version of the InputSystem.

1 Like

Thanks Lurking-Ninja!

Cool will do.