Voltage range acceptance for a divider to detect keystroke