You would save pins by having the switches in a matrix - it sounds like these are configuration switches (not just push-buttons) so the matrix would need a diode per switch
is there a generic approach to arranging into a matrix?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16