Patent ID: 8364855

Claim:
A method of dynamically associating a user input event with a plurality of responses for an electronic device, the method comprising: by a processor in the electronic device; determining a connection state of the electronic device to an external circuit, the connection state having at least two distinct values; receiving the user input event through a user input interface of the electronic device; associating the user input event with a first specific response selected from the plurality of responses for the electronic device based on the determined connection state; causing the electronic device to respond in accordance with the first specific response, wherein the first specific response to the user input event selected from the plurality of responses varies based on the determined connection state of the electronic device, when the electronic device is connected to the external circuit, determining a type of the external circuit connected to the electronic device selected from a plurality of external circuit types; associating the user input event with a second specific response selected from the plurality of responses for the electronic device based on both the determined connection state and the determined type of the external circuit; and causing the electronic device to respond in accordance with the second specific response, wherein the second specific response to the user input event selected from the plurality of responses varies based on both the determined connection state and the determined type of the external circuit.