I couldn't get right/middle click controls working with my trackpad. I don't have any other cursor-based input devices.
I ran into the same issue when testing on my laptop. You can toggle pan on and off using space