The story
From wig (“to wag, waggle”) + wag (“to swing”). The noun is derived from the verb.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: Any of a number of mechanical or electrical devices which cause a component to oscillate between two states. Full definition →