the present invention relates to switching modes of an input device based on events . the invention detects events that suggest that the user does not want to continue with a present mode of the input device and switches to another operation mode . the detection and response to user inputs simplifies the user &# 39 ; s interactions with the system . in some embodiments , the user may be asked prior to switching modes for confirmation . the present invention may be used with limited input devices including styluses .