Dual input with Cardboard?

I’m using a Merge VR instead of a cardboard, which works the same way but is more durable and comfortable for me.

Came across the game Romans From Mars MergeVR which uses dual input. The left button on the top does one function and the right does another.

Anyone have any idea how to set this up in Unity?