GESTURE RECOGNITION METHOD FOR A TOUCHPAD
A gesture recognition method has steps of detecting a first number of first objects touching a touchpad, detecting a second number of second objects tapping the touchpad when the first number of first objects still touches the touchpad, determining that a shortest distance between the first number of first objects and the second number of second objects is less than a preset spacing distance, and enabling a gesture function. Accordingly, gestures provided through the foregoing gesture recognition method are advantageous in being user-friendly, relaxed, convenient and smooth in operation.
Latest ELAN MICROELECTRONICS CORPORATION Patents:
- TOUCHPAD
- FORCE-SENSING PROCESSING METHOD OF A TOUCHPAD
- CARD HAVING A FINGERPRINT SENSOR AND MANUFACTURING METHOD OF THE SAME
- Touchpad and its force sensing data calibration method
- Button module with a vibration feedback and a fingerprint sensing function, fingerprint sensing module for the same, and control method for the same
1. Field of the Invention
The present invention relates to a recognition method and, more particularly, to a gesture recognition method for a touchpad.
2. Description of the Related Art
Touchpads or trackpads have been extensively applied to electronic products, such as notebook computers, personal digital assistants (PDA), mobile phones and other electronic devices.
A drag function is usually used to move objects displayed on a screen or to define a range. A commonly used drag gesture on a touchpad is to tap the touchpad with one finger and then touch the touchpad (usually called a 1½ tap). Then a drag function is performed according to the finger movement on the touchpad. The disadvantage of the drag gesture comprises high failure rate and high learning difficulty.
Generally, the area of touchpads configured in laptop computers or external touchpads is limited. If objects on the screen need to be moved for a longer distance or a larger range needs to be defined, user has to repeat the drag gesture many times.
SUMMARY OF THE INVENTIONAn objective of the present invention is to provide a gesture recognition method with advantages of being easy to learn and having a high success rate.
To achieve the foregoing objective, the gesture recognition method for a touchpad comprises:
(a) detecting a first number of first objects touching the touchpad;
(b) detecting a second number of second objects tapping the touchpad when the first number of first objects still touches the touchpad;
(c) determining that a shortest distance between the first number of first objects and the second number of second objects is less than a preset spacing distance; and
(d) enabling a gesture function after the step (c).
Other objectives, advantages and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The present invention discloses a gesture recognition method for a touchpad and is applied to enable a gesture function. With reference to
With reference to
In step S10, the processing unit detects a first number of first objects touching a touchpad. The first number is a positive integer greater or equal to 1. In one embodiment, the first object may be a conductor, such as a finger, performing operations on a capacitive touchpad. The name and the quantity of the first object as described above are not intended to be limitations of the present invention and are for the purpose of easy and clear description.
In step S20, the processing unit detects a second number of second objects tapping the touchpad while the first number of first objects remain on the touchpad. The second number is a positive integer greater than or equal to 1. In one embodiment, the second object may be a conductor, such as a finger, performing operations on the capacitive touchpad. The tap gesture comprises actions of contacting and leaving the touchpad. It is known to persons with ordinary skill in the related art of the present invention that many methods are available to recognize a tap gesture and are therefore not discussed here. The name and the quantity of the second object as described above are not intended to be limitations of the present invention and are for the purpose of easy and clear description.
After detecting the first number of first objects touching the touchpad and the second number of second objects tapping the touchpad, the processing unit enables a gesture function in step S30. In other words, the definition of the gesture of the foregoing embodiment is the first number of first objects touching the touchpad and then the second number of second objects tapping the touchpad while the first number of first objects remain on the touchpad. Under normal circumstance, user performs gesture operation by one hand, and the sum of the first number and the second number is not greater than 5.
The gesture recognition method of the present invention has a wide scope of application. The gesture function may be a drag function for moving a target object, such as a file icon, selected by the cursor, or for defining a selected range according to movement of the cursor to select multiple files or a section of text. The gesture function may be a scroll function used to scroll contents displayed on the display 12. The gesture function may be a file-open function or a file-delete function.
In an embodiment according to
The conventional drag gesture is performed by 1½ tap. After the finger moves the cursor to the position of an object to be moved, the finger must be lifted from the touchpad, and then the finger sequentially performs actions of put down, lift up and put down to complete the 1½ tap. The entire action of the 1½ tap requires lifting the finger twice and putting down the finger twice. The wrist also sways up and down twice along with the finger's action. Under the circumstance of frequently using the 1½ tap, joints of the finger and the wrist may become uncomfortable.
According to the drag gesture of the present invention, after one finger moves the cursor to the position of an object to be moved, the finger does not have to be lifted from the touchpad. The next step required to enable the drag function is to use another finger (for example a neighboring finger) to tap the touchpad. The whole action of the drag gesture does not need to sway wrist. In contrast to the conventional 1½ tap, the drag gesture of the present invention has 50% less finger motion and no swaying action of the wrist joint. The burden on the finger and the wrist joint will be significantly reduced. For users frequently performing the drag gesture on the touchpad for a long time, the drag gesture in accordance with the present invention is definitely a better choice.
In one embodiment, when the drag function is enabled, the processing unit may change the appearance of the cursor to a preset appearance representing the drag function to help the user to easily recognize the drag function being performed on the touchpad. For example, when the drag function is enabled, the processing unit may change the appearance of the cursor 13 from a single-headed arrow to, but not limited to, a four-way-arrow as shown in
With reference to
In another embodiment, the first number is greater than or equal to 2 and/or the second number is greater than or equal to 2. When the second number of second objects tap the touchpad, the position of one of the first number of first objects that is most adjacent to the second number of second objects is detected as P1. The position of one of the second number of second objects that is most adjacent to the first number of first objects is detected as P2. The shortest distance between the first number of first objects and the second number of second objects can be determined by the positions of P1 and P2 on the touchpad. When the shortest distance is less than the preset spacing distance, the gesture function is enabled. The gesture function as shown in
In one embodiment, the preset spacing distance may be determined according to a reasonable distance between two adjacent fingers of a hand, for example 3 centimeters. In one embodiment, if the shortest distance between the first number of first objects and the second number of second object is greater than the preset spacing distance, a function corresponding to a tapping of the second number of second objects is performed instead of the gesture function. The determination of the shortest distance between the first object and the second object in step S21 can reduce a possibility of false enable of the gesture function. For example, under certain circumstance, users may use the index finger of the right hand to perform the tap gesture while the thumb of the left hand inadvertently rests on the touchpad. If the position tapped by the index finger of the right hand on the touchpad is far enough from the thumb of the left hand, the gesture function will not be enabled according to the determination in
With reference to
With reference to
With reference to
According to the embodiment of
With reference to
The step S10′ is to detect whether a first number of first objects touch a touchpad. If there is no first number of first objects touching the touchpad, return to the step S10′. If there is the first number of first objects touching the touchpad, a next step S20′ is performed. The step S20's is to detect whether a second number of second objects tap the touchpad. If there is no second number of second objects tapping the touchpad, return to the step S10′. If there is the second number of second objects tapping the touchpad, a next step S21′ is performed. The step of S21′ is to determine whether a shortest distance between the first number of first objects and the second number of second objects is less than a preset spacing distance.
If the shortest distance between the first number of first objects and the second number of second objects is less than the preset spacing distance, perform a next step S22′. The step S22′ is to determine whether a movement distance of the first objects on the touchpad is greater than a preset movement distance.
If the shortest distance between the first number of first objects and the second number of second objects is greater than or equal to the preset spacing distance, perform a step S60 to clean the detected information and then return to the step S10′ to detect objects operated on the touchpad. If the first object does not move a distance greater than the preset movement distance, perform the step S60 to clean the detecting information and return to the step S10′ to detect objects operated on the touchpad. In one embodiment, the step S60 is to clean detected information of the first object and the second object, for example, the numbers of the first object and the second object, the touched or tapped positions, a movement distance or the like. If the movement distance of the first object is greater than a preset movement distance, the next step S30 of enabling a gesture function is performed.
After the gesture function is enabled, the step S40′ is performed. The step S40′ is to determine whether a termination gesture operated on the touchpad is detected. If the termination gesture is not detected, return to the step S40′. If the termination gesture is detected, perform the steps S50 and S60 and return to the step S10′.
In one embodiment, the step S30 of enabling the gesture function may comprise providing a signal indicating that a gesture corresponding to the gesture function is detected so as to inform an operating system (OS) of the electronic device 10 to perform the gesture function. In one embodiment, the step S50 may comprise providing a signal indicating the termination gesture for informing the OS of the electronic device 10 to terminate the gesture function.
All steps of the embodiments shown in
For conventional multi-finger gestures, movement of multiple fingers on a touchpad in a same direction or opposite directions may correspond to different gesture functions, such as page scroll, image zoom in and zoom out, and the like. According to the present invention, enabling a specific gesture function requires the second number of second objects to complete tapping the touchpad, and the specific gesture function will not be enabled when the second number of second objects only touch the touchpad. Therefore, the present invention avoids confusion or conflict with the existing multi-finger gestures.
Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only. Changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Claims
1. A gesture recognition method for a touchpad, the method comprising steps of:
- (a) detecting a first number of first objects touching the touchpad;
- (b) detecting a second number of second objects tapping the touchpad when the first number of first objects on the touchpad;
- (c) determining that a shortest distance between the first number of first objects and the second number of second objects is less than a preset spacing distance; and
- (d) enabling a gesture function after the step (c).
2. The gesture recognition method as claimed in claim 1, before the step (d), the method further comprising a step of:
- determining that a movement distance of the first number of first objects on the touchpad is greater than a preset movement distance.
3. The gesture recognition method as claimed in claim 1, wherein the gesture function is one of a drag function, a scroll function, a file-open function and a file-delete function.
4. The gesture recognition method as claimed in claim 2, wherein the gesture function is one of a drag function and a scroll function.
5. The gesture recognition method as claimed in claim 3, wherein the drag function comprises moving a target object selected by a cursor.
6. The gesture recognition method as claimed in claim 4, wherein the drag function comprises moving a target object selected by a cursor.
7. The gesture recognition method as claimed in claim 3, wherein the drag function comprises defining a selecting range according to a movement of a cursor.
8. The gesture recognition method as claimed in claim 4, wherein the drag function comprises defining a selecting range according to a movement of a cursor.
9. The gesture recognition method as claimed in claim 1, wherein when the gesture function is enabled, the method further comprises:
- changing an appearance of a cursor.
10. The gesture recognition method as claimed in claim 2, wherein when the gesture function is enabled, the method further comprises:
- changing an appearance of a cursor.
11. The gesture recognition method as claimed in claim 1, after the step (d), the method further comprising a step of:
- detecting a termination gesture, wherein the gesture function is terminated after the termination gesture performed on the touchpad is detected.
12. The gesture recognition method as claimed in claim 2, after the step (d), the method further comprising a step of:
- detecting a termination gesture, wherein the gesture function is terminated after the termination gesture performed on the touchpad is detected.
13. The gesture recognition method as claimed in claim 11, wherein the termination gesture comprises a tap gesture.
14. The gesture recognition method as claimed in claim 12, wherein the termination gesture comprises a tap gesture.
Type: Application
Filed: Dec 23, 2016
Publication Date: Jun 29, 2017
Applicant: ELAN MICROELECTRONICS CORPORATION (Hsin Chu)
Inventors: Chien-Chou CHEN (Taipei City), Yu-Hao CHEN (New Taipei City)
Application Number: 15/389,736