How do I make a binding with one modifier with the modifier being a direction on the left joystick?

How do I make a binding with one modifier with the modifier being a direction on the left joystick? I’m trying to make a dodge mechanic for a Vr anime styled fighting game and I want the input for dodging left to be the left joystick pointing left and clicking the left joystick at the same time. So, how would I go about doing that? (I have tested out the script and it works plus I’m using the base XRI default input actions if that helps)