Use one button for different actions

For my problem, I found only this post: How to handle button combos using Input System? , but there is essentially no answer there

I have a similar problem. I get a boolean value from the right mouse button, if it is pressed, I get true, if released, then false, through Pass Through:
8452811--1121465--upload_2022-9-20_17-3-38.png
8452811--1121471--upload_2022-9-20_17-3-54.png8452811--1121474--upload_2022-9-20_17-4-15.png

And it works well. But I also use a combination of the right and left mouse buttons for another action and also get a Boolean value:
8452811--1121480--upload_2022-9-20_17-6-26.png

But I get a kind of conflict. These two events seem to overlap each other. An event where a combination of buttons works and where one button does not. Creating another Input Action doesn’t help.

In general, I want when I press only the right button to perform some action, and if I also press the left button, then another action too. In my case, it’s to look around and shoot. Thanks for the answer.

8452811--1121474--upload_2022-9-20_17-4-15.png

I was able to solve this problem by just using two separate buttons
8452886--1121495--upload_2022-9-20_17-47-34.png
but I still don’t understand why it didn’t work there.