Method for executing mouse function of electronic device and electronic device thereof
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for executing a mouse function of electronic device and an electronic device thereof are provided. In the present method, an amount and a relative position of input signals are detected by a sensor module. Then, whether the amount and the relative position are respectively conformed to a predetermined value is determined. If the predetermined values are conformed, whether the input signal is conformed to a specific signal is determined when a variation of the relative position is occurred. Finally, a corresponding mouse function is executed according to a type of the variation if the variation is conformed to the specific signal. As a result, a mouse device is no longer needed for a user to accomplish a directional operation on the electronic device so as to prevent inconvenience of particularly carrying a mouse device.
9 Citations
14 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An electronic device having a mouse executing function, suitable for executing a plurality of mouse functions according to motion variations of a hand, the electronic device comprising:
-
a display, having a screen capable of displaying a mouse cursor; a sensor module, coupled to the display for detecting an amount of a plurality of input signals and a relative position of the input signals, wherein the sensor module is a touch input unit, and the input signal is a touch signal; and a judging module, simultaneously coupled to the display and the sensor module for judging whether the amount and the relative position are respectively conformed to a predetermined value, wherein when the judging module judges the touch signals are simultaneously varied, and if a time for the touch input unit continually detecting the touch signals exceeds a third time period, the judging module obtains a motion track of the touch signal, and correspondingly moves a mouse cursor according to the motion track, wherein if the predetermined values are conformed, and when the relative position of the input signals is varied, whether the variation is conformed to a specific signal is determined, wherein the judging module judges that 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
judges 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 a corresponding mouse function is executed according to a type of the variation if the variation is conformed to the specific signal. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification