user defined RTC

how should I identify that a key is pressed on keyboard in ARM?I want to input data when key is pressed on keyboard check whether it is valid or not for the RTC and if it is valid then change the time according to input data.Please provide an example showing above description.

More questions in this forum