Sure, you could accomplish this in a state with 3 or 4 actions, but much easier having it 'all in one'.
I build this for a VR project, but it would work with anything.
Its for the new input system.
It sends an event when the two inputs have both performed.
It also sets a bool too.