How do you attack with your backup weapon?

I am playing on PC.

For example, my sniper has a pistol. How do I have him shoot using the pistol rather than his sniper rifle?


Solution 1:

You can press X on the keyboard, or just click on the weapon in the bottom right with your mouse. With a gamepad you hit X to swap weapons (as far as I can tell this doesn't count as an action).