Patent ID: 8692694

Claim:
A method of recovering from a stuck key on an electronic device keyboard comprising a plurality of keys, the method comprising: receiving one or more messages at a processor, wherein said one or more messages are generated based upon a predetermined periodic scan rate and each message corresponds to a pressed key; determining that a pressed key is a stuck key by the processor based upon the received one or more messages corresponding to a pressed key; sending a mock key-up message from the processor to a keyboard controller in response to the determined stuck key, the mock key-up message interrupting the processor from inputting messages generated by the keyboard controller corresponding to the stuck key, thereby preventing the processor from processing messages corresponding to the stuck key, while enabling the processor to continue to process messages corresponding to the remainder of the plurality of keys; operating the keyboard controller at a changed periodic scan rate in response to the mock key-up message, in which keyboard controller continues to scan, but at a periodic rate which is different from the predetermined periodic scan rate; detecting the electronic device keyboard is in a released key state by the processor; and operating the keyboard controller at the predetermined periodic scan rate in response to the detected released key state.