I suppose there's some good reason for using the ADC to detect the keypress vs just looking for a digital high/low on the pin?