You can freely switch between the two in combat, default hotkey Tilde (Left of number 1 key).
How to set up primary and secondary weapons:
- Press C to see your equipped items.
- Remove any weapons.
- Equip primary weapon (for ex sword and shield)
- Press the switch key (Default tilde, left of number 1 key)
- Equip secondary weapon (for ex lute)