Patent ID: 8462113

Claim:
A method for executing a mouse function of an electronic device, the electronic device comprising a sensor module, and the method comprising: detecting an amount of a plurality of input signals and a relative position of the input signals via the sensor module, wherein the sensor module is a touch input unit, and the input signal is a touch signal; judging whether the amount and the relative position are respectively conformed to a predetermined value; after the amount is judged to be conformed to the predetermined value, obtaining a motion track of the touch signal if a time for the touch input unit continually detecting the touch signals exceeds a third time period, and when the touch signals are simultaneously varied; correspondingly moving a mouse cursor according to the motion track; if the predetermined values are conformed, and when a variation of the relative position of the input signals is occurred, judging whether the variation is conformed to a specific signal, the step comprising: judging the varied touch signal is conformed to a first specific signal if counting from a specific direction, the varied touch signal is an i-th touch signal of the touch signals; and judging the varied touch signal is conformed to a second specific signal if counting from the specific direction, the varied touch signal is a j-th touch signal of the touch signals, wherein i and j are positive integers less than or equal to the predetermined value, and i is not equal to j; and if the variation is conformed to the specific signal, executing a corresponding mouse function according to a type of the variation.