Simulate holding down Middle Mouse button

I am trying to map 2 Finger Click gesture with Magic Mouse that maps to holding down middle mouse click so that I can pan in 3D program Maya.
I tried mapping to Mouse Middle Click and it does not work.
Any ideas why?