How can I detect 2 fingers being pressed?

I have 2 bindings of type “binding with one modifier”. One for the right controller, another for the right hand. The controller one works, but not the hand. I am trying to detect 2 finger presses(ring and little)

For 2 seconds

It seems to work for the hand if I use a normal binding with no modifiers and detect just one finger press.

What am I doing wrong?

I’m not doing anything wrong per se. It seems that XR Interaction Toolkit and/or Oculus or the new input management system has a really hard time detecting 2 finger presses on the same hand. It works sometimes.

If I configure to use 2 hands It works most of the time, though it still fails to detect sometimes.

The default behavior of One Modifier composite needs the modifier to be “pressed” first before the binding is “pressed” when both are ButtonControl types, which ringPressed and littlePressed are. You could try enabling that Override Modifiers Need To Be Pressed First to allow the two fingers to be pressed in any order to trigger the action if that’s acceptable for your project.

However, with optical tracking, the ring and little fingers can be unreliable and fingers can block the fingers behind them from the cameras, so you may want to trigger the action if either the ring or little finger is pressed instead of requiring both to be pressed.