Wiring up a universal key-switch