This application claims foreign priority benefits under 35 U.S.C. §119 of Chinese Patent Application Serial No. 200910190704.9, filed on Sep. 23, 2009, the content of which is incorporated herein by reference in its entirety.
The present invention relates generally to a method for sensing a contact with a touchpad, and more particularly to a method for sensing hand gestures on a touchpad.
Although the keyboard remains a primary input device of a computer, the prevalence of graphical user interfaces (GUIs) may require use of a mouse or other pointing device such as a trackball, joystick, touchpad or the like. Operations performed by the pointing devices generally correspond to moving a cursor, making selections, dragging, zoom in/out, rotating or the like.
Touchpads are commonly used on portable electronic devices by providing a panel for user's fingers or other objects to touch or move thereon. Operations on touchpads may be implemented by detecting hand gestures. For example, selections may be made when one or more taps are detected on the touchpads. In addition to selections, moving a selected content from one place to another may be made by dragging a user's finger across the touchpad.
According to one exemplary embodiment of the invention, a method for detecting gestures on a touchpad is presented. The method comprises receiving a first contact signal induced by a first contact with the touchpad, detecting a drop in the first contact signal induced by a first lift off the touchpad, recording a first time interval between receipt and drop in the first contact signal, comparing the first time interval to a first reference and a second reference, wherein the first reference is less than the second reference, and the first reference and second reference are predefined, and outputting one of a single-click signal, double-click signal or drag signal.
According to one exemplary embodiment of the invention, a device for detecting gestures on a touchpad is presented. The device comprising a processor configured to receive a first contact signal induced by a first contact with the touchpad, detect a drop in the first contact signal induced by a first lift off the touchpad, record a first time interval between receipt and drop in the first contact signal, compare the first time interval to a first reference and a second reference, wherein the first reference is less than the second reference, and the first reference and the second reference are predefined, generate a first intermediate signal in an instance in which the first time interval is greater than or equal to the first reference and less than or equal to the second reference, and output one of a single-click signal, double-click signal or drag signal.
According to one exemplary embodiment of the invention, a method for detecting gestures on a touchpad is presented. The method comprises receiving a first contact signal induced by a first contact with the touchpad, recording a threshold time interval until receipt of the first contact signal, comparing the threshold time interval to a predefined threshold reference, and determining a first valid contact signal.
The foregoing summary, as well as the following detailed description of the invention, will be better understood when read in conjunction with the appended drawings. The embodiments illustrated in the figures of the accompanying drawings herein are by way of example and not by way of limitation. In the drawings:
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.
In an instance in which the comparison result obtained at step 414 indicates that the first time interval T1 is greater than or equal to the first reference t11, the processing unit continues to compare the first time interval T1 with a second reference t12 that is greater than the first reference t11 at step 418. The first time interval T1 that is greater than or equal to the first reference t11 and less than or equal to the second reference t12, compared at steps 414 and 418, may indicate that a valid touch or a real touch is detected. A first intermediate signal is then generated when the counter reaches a third reference time t21. In an instance in which the counter value T1 is greater than the second reference t12 at step 418, the detected signals may be induced by other gesture that may be determined at step 438.
The processing unit monitors for receipt of a second contact signal from the touchpad at step 422. In an instance in which the processing unit does not receive a second contact signal when the counter reaches a fourth reference time t22 at step 422, or the second contact signal is received after the counter reaches t22, the first intermediate signal is terminated and a single-click signal is output at step 426. The counter is then reset and restarts to run at step 403. On the contrary, in an instance in which the processing unit receives a second contact signal before the counter reaches t22, the processing unit may record a second time interval T2 as the time between the time the first valid signal ceased and receipt of the second contact signal. The processing unit then compares the second time interval T2 to the third reference t21 at step 424. In an instance in which the second time interval T2 is less than the third reference t21, the detected second contact signal may be induced by other gestures which may be judged at step 438.
In an instance in which the second time interval T2 is greater than or equal to the third reference t21 at step 424 and less than or equal to the fourth reference t22, the processing unit may monitor the second contact signal for a drop in the respective signal at step 428. On detecting a drop in the second contact signal, the processing unit may perform comparison functions to compare a third time interval T3 to a fifth reference t31 at step 430 and a six reference t32 at step 432. The third time interval T3 is recorded between receipt and drop in the second contact signal and may indicate a second presence of a finger of the user on the touchpad. In an instance in which the third time interval T3 is greater than or equal to the fifth reference t31, and less than or equal to the sixth reference t32, the first intermediate signal is terminated, a second intermediate signal is generated and a double-click signal constituted by the first intermediate signal and the second intermediate signal is output at step 434. In an instance in which the third time interval T3 compared at step 430 is less than the fifth reference t31, the detected signals may be caused by other gestures, which may be determined at step 438. In an instance in which the third time interval T3 compared at step 432 is greater than the sixth reference t32, a drag signal is output at step 436.
In the exemplary embodiment that is shown in
On the contrary, in an instance in which the processing unit receives a second contact signal 506, as shown in
The touchpad may include a processing unit and a sensing unit. The sensing unit may sense signals that received on the touchpad. The sensed signals may be received and processed by the processing unit. The sensing unit may be in the form of sensors, sensing layers or the like. The processing unit may be embodied in a number of different manners, such as a CPU (Central Processing Unit), microprocessor, and/or various other processing devices including integrated circuits such as ASIC (Application Specification Integrated Circuit), FPGA (Field Programmable Gate Array) or the like. As will be appreciated, the processing unit may include a counter embodied in the form of a software program or an electronic circuit, e.g., a cyclic counter. In various embodiments, the counter may be reset on receipt and/or drop in a contact signal.
According to one aspect of the present invention, the touchpad may include, for example, a sensing unit and a processing unit. When a user's first finger is resting on the touchpad, the contact with the touchpad may be sensed by the sensing unit, which may be embodied in a number of different manners, such as in the form of a touch-sensitive surface. The processing unit may record time intervals between two received adjacent signals and perform comparison functions to compare the time intervals to predefined references. The processing unit may be embodied in hardware in a number of different manners, such as a CPU (Central Processing Unit), microprocessor, coprocessor, controller and/or various other processing devices including integrated circuits such as ASIC (Application Specification Integrated Circuit), FPGA (Field Programmable Gate Array) or the like. As will be appreciated, the processing unit may include or otherwise be configured to communicate with non-transitory memory, such as volatile memory and/or non-volatile memory, which may store data received or calculated by the processing unit, and may also store one or more software applications, instructions or the like for the processing unit to perform functions associated with operation of the device in accordance with exemplary embodiments of the present invention.
All or a portion of the system of the present invention, such as all or portions of the processing unit, generally operates under control of a computer program product. The computer program product for performing the methods of embodiments of the present invention includes a non-transitory computer-readable storage medium, such as the non-volatile storage medium, and computer-readable program code portions, such as a series of computer instructions, embodied in the computer-readable storage medium.
It will be appreciated by those skilled in the art that changes could be made to the examples described above without departing from the broad inventive concept. It is understood, therefore, that this invention is not limited to the particular examples disclosed, but it is intended to cover modifications within the spirit and scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
200910190704.9 | Sep 2009 | CN | national |