Emulating a left mouse click with Gamepad

How would one make this interface you’re referencing?