Viewport controls changed.

Okay, this might be a really stupid question. But I somehow managed to change my viewport controls to where I move the viewport camera by dragging the mouse. Even though I very much prefer to select and move things with my mouse in the viewport.

I can’t figure out where to change it…
Please help.

Thanks in advance.