Circuit design · Inputs: buttons, pull-ups, noise
A pull-up gives a button its idle level, and its value has to sit between two limits: wasted current and leakage.