Abstract:
A method and electronic device are provided to process a touch screen event detected from a touch screen and to process an input key event detected from an input key. The input key may be installed near the touch screen panel. The method comprises detecting a first event comprising one of an input key event from the input key of the electronic device and a touch screen event from the touch screen and detecting a second event within a given time after the detection of the first event, the second event comprising the other of an input key event from the input key of the electronic device and a touch screen event from the touch screen. The method further comprises performing a function corresponding to the touch screen event while ignoring the input key event.