CN102253744A - Method for controlling touch panel and touch device using method - Google Patents
Method for controlling touch panel and touch device using method Download PDFInfo
- Publication number
- CN102253744A CN102253744A CN2010101755528A CN201010175552A CN102253744A CN 102253744 A CN102253744 A CN 102253744A CN 2010101755528 A CN2010101755528 A CN 2010101755528A CN 201010175552 A CN201010175552 A CN 201010175552A CN 102253744 A CN102253744 A CN 102253744A
- Authority
- CN
- China
- Prior art keywords
- coordinate
- touch
- coordinate system
- screen
- cursor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000009471 action Effects 0.000 claims description 36
- 230000008859 change Effects 0.000 claims description 8
- 210000003811 finger Anatomy 0.000 description 26
- 230000009466 transformation Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 210000003813 thumb Anatomy 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention relates to a method for controlling a touch panel and a touch device using the method. The touch device provided by the invention is applicable to electronic equipment and comprises the touch panel and a coordinate conversion program, wherein the touch panel is used for detecting the quantity of contact points, on the touch panel, of a touch gesture of a user and detecting the position of each contact point; when the quantity of the contact points is equal to 1, the electronic equipment is operated in a mode of relative coordinates; and when the quantity of the contact points is greater than 1, the electronic equipment is operated in a mode of absolute coordinates.
Description
Technical Field
The invention relates to a control method of a touch pad and a touch device applying the method.
Background
With the development of technology, the electronic devices are greatly developed to bring convenience to human life, and therefore it is an important issue how to make the operations of the electronic devices more humanized. For example, the common electronic devices in daily life are notebook computers, PDAs, mobile phones, satellite navigation devices, digital cameras, etc., and the functions of these electronic devices are becoming increasingly powerful and complex due to the significant increase in storage capacity and processor performance. In order to operate these electronic devices efficiently, manufacturers of electronic devices use touch pads as input devices to operate these electronic devices.
Please refer to fig. 1, which is a schematic structural diagram of a conventional notebook computer and a touch device thereof. The touch device 1 is disposed on a base 21 of the notebook computer 2, and includes a touch pad 11, a left button 12, and a right button 13. When a user wants to operate the notebook computer 2, the user can touch the touch pad 11 with a finger and slide on the touch pad 11 to move the cursor 23 on the screen 22, and if the user uses the left button 12 and the right button 13, other operation functions can be generated to replace the function of a computer mouse, so that the user does not need to carry or install the computer mouse additionally, which is inconvenient.
Furthermore, the conventional touch pad 11 uses a relative coordinate mode to control the cursor 23 on the computer screen 22, which is the same as the coordinate mode of a computer mouse, i.e. the movement of the cursor is controlled only according to the distance and direction between the two relative positions before and after the finger touch without any regard for the actual position of the finger on the touch pad 11. However, since the area of the touch pad 11 is much smaller than that of the computer screen 22, if the user wants to move the cursor 23 from one end of the computer screen 22 to the other end of the computer screen 22, the user must move the finger on the touch pad 11 several times, which obviously causes inconvenience to the user.
Therefore, the above problem can be solved if the touch pad 11 uses an absolute coordinate mode to control the cursor on the computer screen 22, wherein the absolute coordinate mode refers to that any position on the computer screen 22 can correspond to a relative position on the touch pad 11, which is the same principle as the coordinate mode of the touch pad on the market. For example, when the user wants to move the cursor 23 to the center of the computer screen 22, the user only needs to touch the center of the touch pad 11 with a finger. However, it is difficult to make the touch pad 11 using the absolute coordinate mode perform the same function as the touch screen, for example, the area of the touch pad 11 is very different from the area of the computer screen, and if a small object on the screen is clicked through the touch pad 11 for operation, it is difficult to accurately position the touch pad, and if the area of the touch pad 11 is increased, the volume of the notebook computer is increased, which makes the notebook computer difficult to carry.
Therefore, a touch device is proposed, which can selectively operate in an absolute coordinate mode or a relative coordinate mode according to the usage requirements, such as those disclosed in taiwan patent No. 241746, taiwan patent No. 470193 and chinese patent application publication No. 1940837. However, the technologies proposed in these patent publications require additional hardware or additional buttons for mode selection as a medium for switching between absolute coordinate mode and relative coordinate mode, and when a user wants to perform coordinate mode switching during touch control, the user must additionally press the additional hardware or buttons, which cannot jointly switch coordinate modes during touch control.
Disclosure of Invention
The present invention provides a control method for automatically switching coordinate modes during a touch process without pressing other hardware or keys of an electronic device, and a touch device using the method, aiming at the above-mentioned deficiencies of the prior art.
The technical solution of the present invention to solve the technical problem is to provide a method for controlling a touch pad, which is used for sensing a touch gesture applied to the touch pad to move a position of a cursor on a screen of an electronic device or execute a command, where the touch gesture has at least one contact point on a touch pad, the method comprising: detecting the number of contact points of the touch gesture on the touch pad and the position of each contact point; when the number of the contact points is equal to one, the cursor and the command action run in a relative coordinate mode, and when the number of the contact points is more than one, the command action runs in an absolute coordinate mode.
The coordinates on the touch pad are represented by a first coordinate system, the coordinates on the screen are represented by a second coordinate system, a first proportional relation exists between the horizontal axis of the first coordinate system and the horizontal axis of the second coordinate system, and a second proportional relation exists between the vertical axis of the first coordinate system and the vertical axis of the second coordinate system.
The position coordinates of the cursor on the screen are expressed in the second coordinate system.
The operation method of the absolute coordinate mode comprises the following steps: outputting the position coordinates of each contact point, wherein the position coordinates of each contact point are represented by the first coordinate system; selecting a reference point, wherein the position coordinate of the reference point is represented by the first coordinate system; translating the first coordinate system according to the reference point, so that the first coordinate system is converted into a third coordinate system with the reference point as an origin, and the position coordinate of each contact point is converted into a representation by the third coordinate system; converting the third coordinate system into the second coordinate system according to the position coordinate of the cursor, the first proportional relationship and the second proportional relationship, so that the position coordinate of each contact point is converted into the second coordinate system; and analyzing the change of the position coordinate of each contact point to enable the command action to be executed around the position coordinate of the cursor.
When the number of the contact points is equal to two, the position coordinate of the reference point is the central point of the position coordinates of the contact points.
When the number of the contact points is equal to one and the finger of the user moves on the touch pad, the cursor on the screen moves in the relative coordinate mode.
When the number of the contact points is equal to one, the command action enables a file data on the screen to be dragged in the relative coordinate mode.
When the number of the contact points is more than one, the command action enables a file data on the screen to be enlarged, reduced or rotated in the absolute coordinate mode.
The invention also provides a touch device, which is applied to electronic equipment, wherein the electronic equipment is provided with an operating system and a screen, the touch device is used for receiving a touch gesture to control the position of a cursor on the screen or execute an instruction action, and the touch device comprises a touch pad and a coordinate conversion program, wherein the touch pad is connected with the electronic equipment and is used for receiving the touch gesture; the touch control gesture is provided with at least one contact point on the touch control plate, the touch control plate detects the number of the contact points of the touch control gesture on the touch control plate and the position of each contact point, when the number of the contact points is equal to one, the cursor and the command action run in a relative coordinate mode, and when the number of the contact points is more than one, the command action runs in an absolute coordinate mode; the coordinate conversion program is executed when the number of the contact points is more than one, and is used for converting the position coordinate of each contact point, so that the operating system executes the command action around the position of the cursor on the screen.
The coordinates on the touch pad are represented by a first coordinate system, the coordinates on the screen are represented by a second coordinate system, a first proportional relation exists between the horizontal axis of the first coordinate system and the horizontal axis of the second coordinate system, and a second proportional relation exists between the vertical axis of the first coordinate system and the vertical axis of the second coordinate system.
The position coordinates of the cursor are expressed in the second coordinate system.
When the number of the contact points is more than one, the touch pad outputs the position coordinate of each contact point to the coordinate conversion program, and the position coordinate of each contact point is represented by the first coordinate system.
When the touch pad outputs the position coordinates of each contact point to the coordinate conversion program, the coordinate conversion program selects a reference point represented by the first coordinate system, translates the first coordinate system according to the reference point, so that the first coordinate system is converted into a third coordinate system with the reference point as an origin, so that the position coordinates of each contact point are converted into a representation by the third coordinate system, and the coordinate conversion program converts the third coordinate system into the second coordinate system according to the position coordinates of the cursor, the first proportional relation and the second proportional relation, so that the position coordinates of each contact point are converted into a representation by the second coordinate system, and outputs the position coordinates of each contact point represented by the second coordinate system to the operating system.
When the number of the contact points is equal to two, the position coordinate of the reference point is the central point of the position coordinates of the contact points.
When the operating system receives the position coordinates of each contact point represented by the second coordinate system transmitted by the coordinate conversion program, the operating system analyzes the change of the position coordinates of each contact point so that the operating system executes the command action around the position coordinates of the cursor.
When the number of the contact points is equal to one and the finger of the user moves on the touch pad, the cursor on the screen moves in the relative coordinate mode.
When the number of the contact points is equal to one, the command action enables a file data on the screen to be dragged in the relative coordinate mode.
When the number of the contact points is more than one, the command action enables a file data on the screen to be enlarged, reduced or rotated in the absolute coordinate mode.
The touch device of the invention determines whether the electronic equipment is operated in a mode of relative coordinates or in a mode of absolute coordinates by detecting the number of contact points of the touch gesture of the user on the touch pad. In addition, the coordinate transformation program of the touch device of the invention enables a user to perform a command action around the position of the cursor regardless of the position of the cursor on the screen corresponding to the position on the touch pad in the absolute coordinate mode by randomly placing the touch gesture at any position on the touch pad for touch action.
Drawings
Fig. 1 is a schematic structural diagram of a conventional notebook computer and a touch device thereof.
Fig. 2 is a schematic application diagram of a touch device according to a preferred embodiment of the invention.
FIG. 3 is a schematic diagram of another embodiment of the touch device of the present invention.
FIG. 4 is a flowchart illustrating a control method of a touch pad according to a preferred embodiment of the present invention.
Fig. 5 to 7 are schematic views illustrating an absolute coordinate mode operation of a touch device according to a preferred embodiment of the invention.
Fig. 8 to 9 are schematic views illustrating an absolute coordinate mode operation of a touch device according to another preferred embodiment of the invention.
FIG. 10 is a diagram illustrating a coordinate system of a touch pad and a screen of a touch device according to a preferred embodiment of the invention.
FIG. 11 is a flow chart of a preferred absolute coordinate mode of operation of the present invention.
Fig. 12 to 16 are schematic views illustrating an absolute coordinate mode operation of a touch device according to a preferred embodiment of the invention.
FIG. 17 is a system diagram of a touch device applied to Windows 7 according to a preferred embodiment of the invention.
Detailed Description
Referring to fig. 2 and fig. 3, fig. 2 is a schematic application diagram of a touch device according to a preferred embodiment of the invention, and fig. 3 is a schematic application diagram of another touch device according to another preferred embodiment of the invention. The touch device 3 includes a touch pad 31 and a coordinate transformation program, in an embodiment, the touch pad 31 is disposed below a keyboard 41 of the notebook computer 4 (as shown in fig. 2), or connected to the desktop computer 5 (as shown in fig. 3) via a Universal Serial Bus (USB)51, the notebook computer 4 or the desktop computer 5 respectively has an operating system and a screen 42, 52, and the touch pad 31 senses a touch gesture applied thereto by a user to move a position of a cursor 43, 53 on the screen 42, 52, or execute a command action, thereby achieving the purpose of operating the notebook computer 4 or the desktop computer 5.
In addition, the touch gesture applied by the user on the touch pad 31 has at least one touch point, the touch pad 31 is used for detecting the number of touch points and the position of each touch point of the touch pad 31, and the coordinate transformation program is installed in the notebook computer 4 or the desktop computer 5 for enabling the operating system to execute the command action around the position of the cursor 43, 53 on the screen 42, 52, which will be described in detail later. Of course, the touch device 3 of the present invention can be applied to not only the notebook computer 2 or the desktop computer 3, but also any electronic device such as a television, a projector, etc. that can be remotely controlled without departing from the scope of the present invention.
The touch device 3 of the present invention can control the electronic device in a relative coordinate mode or in an absolute coordinate mode, and the selection of the mode depends on the number of touch points on the touch pad in the touch gesture. Please refer to fig. 4, which is a flowchart illustrating a control method of a touch pad according to a preferred embodiment of the present invention, as described in detail below.
In step S1, the number of contact points and the position of each contact point on the touch pad 31 of the touch gesture of the user are detected by the touch pad 31, and if the number of contact points is equal to one, the process goes to step S2, and if the number of contact points is greater than one, the process goes to step S3.
In step S2, the movement of the on-screen cursor and the execution of the command action are executed in the relative coordinate mode.
In detail, if the user's finger moves on the touch pad 31, the cursor on the screen can move correspondingly, which is similar to the operation mode of the conventional touch pad, that is, the movement of the cursor is controlled only according to the distance and direction between the front and back relative positions touched by the finger, regardless of the actual position of the finger on the touch pad 31.
Furthermore, if the user places the index finger on the touch pad 31, the placement position of the index finger corresponds to the title row of the window on the screen, and then moves the index finger on the touch pad 31, the dragging command can be executed, so that the window on the screen moves correspondingly with the movement of the index finger, and the movement mode also operates in a relative coordinate mode, that is, the movement of the window is controlled only according to the distance and direction between the front and rear relative positions of the finger touch regardless of the actual position of the finger on the touch pad 31.
In step S3, execution of the command action is run in absolute coordinate mode.
In detail, in the absolute coordinate mode, any position on the touch pad 31 has a corresponding position on the computer screen. Referring to fig. 5 to 9, fig. 5, 6 and 7 are schematic views illustrating an absolute coordinate mode of a touch device according to a preferred embodiment of the invention, and fig. 8 and 9 are schematic views illustrating an absolute coordinate mode of another preferred embodiment of a touch device according to the invention.
Fig. 5 to 7 illustrate the process of enlarging and reducing the document data 7 (such as a picture) on the screen 52 in the absolute coordinate mode, wherein the points a, B, C, D, E and F on the touch pad 31 correspond to the points a ', B ', C, D ', E and F on the screen 52, respectively. The thumb 61 and the index finger 62 of the user touch the points A and B on the touch pad 31, respectively, and the points A 'and B' correspond to the points G and H of the document data 7, respectively, as shown in FIG. 5. When the thumb 61 and the index finger 62 of the user move in the directions X1 and X2 to make the thumb 61 and the index finger 62 respectively stop at the points C and D on the touch pad 31, the points G and H of the document data 7 are moved from the points a 'and B' to the points C 'and D' respectively to make the document data 7 enlarged, as shown in fig. 6. Similarly, if the thumb 61 and the index finger 62 of the user move in the directions X2 and X1 respectively to make the thumb 61 and the index finger 62 stay at the points E and F on the touch pad 31 respectively, the points G and H of the file data 7 are moved from the points C 'and D' to the points E 'and F', respectively, and the file data 7 is reduced as shown in fig. 7.
Fig. 8 and 9 illustrate the process of rotating the document data 7 (e.g. a picture) on the screen 52 in the absolute coordinate mode, wherein the I point, the J point, the K point and the L point on the touch pad 31 correspond to the I 'point, the J' point, the K 'point and the L' point on the screen 52, respectively. The thumb 61 and the index finger 62 of the user touch the point I and the point J on the touch pad, respectively, and the point I 'and the point J' correspond to the point M and the point N of the document data 7, respectively, as shown in FIG. 8. When the thumb 61 and the index finger 62 of the user rotate in the directions X3 and X4 to make the thumb 61 and the index finger 62 respectively stop at the points K and L on the touch pad 31, the points M and N of the document data 7 are moved from the points I 'and J' to the points K 'and L' respectively to make the document data 7 rotate, as shown in fig. 9.
Specifically, if a user wants to perform a command operation (such as zooming in, zooming out, or rotating) on a document data on the screen, the user must first move the cursor on the screen onto the document data and then make the operating system perform the command operation with a specific touch gesture, for example, if the document data is located on a corner of the screen, the user must first move the cursor into the corner, and at this time, if the command operation is to be performed in the absolute coordinate mode, the user must perform the specific touch gesture at a corresponding position on the touch pad 31 (i.e., on a corner of the touch pad 31), however, the area of the touch pad 31 is smaller than that of the computer screen, and the user cannot easily and precisely touch the finger at the corresponding position on the touch pad 31. The coordinate transformation procedure of the touch device 3 of the present invention can solve the above-mentioned difficulties and make the operation of the touch pad 31 more humanized, and no matter what the position on the touch pad 31 touched by the finger of the user, the command action can be executed around the position of the cursor as long as the operation is performed in the absolute coordinate mode, which is described below.
Please refer to fig. 10, which is a diagram illustrating a coordinate system of a touch pad and a screen of a touch device according to a preferred embodiment of the invention. The position coordinates of any point on the touch pad 31 are represented by a first coordinate system T, the position coordinates of any point on the screen 52 are represented by a second coordinate system S, and certainly, the position coordinates of the cursor on the screen 52 are also represented by the second coordinate system S. Since the area of the touch pad 31 is different from the area of the computer screen 52, there is a first ratio P between the horizontal axis (X-axis) of the first coordinate system and the horizontal axis (X-axis) of the second coordinate systemxA second ratio P exists between the longitudinal axis (Y-axis) of the first coordinate system and the longitudinal axis (Y-axis) of the second coordinate systemyThe relationship (2) of (c). In other words, if the position coordinate of any point on the touch pad 31 is equal to (T)x1,Ty1) Indicating the position coordinates of the corresponding point on the screen 52 by (S)x1,Sy1) Is shown, and Sx1=Px·Tx1,Sy1=Py·Ty1。
Referring to fig. 11, a flowchart of a preferred absolute coordinate mode operation method according to the present invention is shown.
Step P1, the touch pad 31 outputs a touch gesture on the touch pad 31, and the position coordinates of each touch point are represented by the first coordinate system T;
at step P2, the coordinate transformation program selects a reference point according to the received position coordinates of the contact point, and the reference point is represented by the first coordinate system T. A preferred selection method is to use the center of the positions of two contact points as a reference point when the number of the contact points on the touch pad 31 in the touch gesture is equal to two;
step P3, the coordinate transformation program translates the first coordinate system T according to the selected reference point, so that the first coordinate system T is transformed into a third coordinate system Z with the reference point as the origin, so that the position coordinates of each contact point on the touch pad 31 of the touch gesture are transformed into the third coordinate system Z;
in step P4, the coordinate transformation program determines the first proportional relation P according to the position coordinates of the cursor 53 on the screen 52xAnd a second proportional relation PyConverting the third coordinate system Z into a second coordinate system S, so that the position coordinates of each contact point on the touch pad 31 of the touch gesture are converted into the second coordinate system S, and outputting the position coordinates of each contact point expressed by the second coordinate system S to the operating system;
in step P5, the operating system analyzes the change in the position coordinates of each contact point so that the command action is performed around the position coordinates of the cursor 53.
In the following, an embodiment of how the above steps enable the touch gesture of the user to correspond to the periphery of the position of the cursor 53 on the screen 52 regardless of the position of the contact point on the touch pad 31 will be described. Please refer to fig. 12 to 16, which are schematic diagrams illustrating an absolute coordinate mode operation of a touch device according to a preferred embodiment of the invention. The touch gesture of the user touches any region (the right region in fig. 12) on the touch pad 31, the touch points are the point O and the point P, and the position coordinates thereof are respectively expressed by the first coordinate system T (T)x2,Ty2) And (T)x3,Ty3) Further, the position coordinates of the cursor 53 on the screen 52 are expressed in a second coordinate system S (S)x4,Sy4) This is shown in fig. 12.
In step P1, the touch pad 31 first detects the position coordinates (T) of the O point and the P pointx2,Ty2) And (T)x3,Ty3) And outputting the data to a coordinate conversion program.
In step P2, the coordinate transformation program selects the center of the point O and the point P as the reference point, so that the position coordinates of the reference point are expressed by the first coordinate system TAs shown in fig. 13.
In step P3, the coordinate transformation program translates the first coordinate system T to make the first coordinate system T transformed into the reference pointThe third coordinate system Z as the origin, and therefore the position coordinate systems of the O point and the P point are respectively converted into (Z) expressed by the third coordinate system Zx2,Zy2) And (Z)x3,Zy3) Wherein
In step P4, the coordinate transformation process depends on the position coordinates of the cursor 53 (S)x4,Sy4) First proportional relation PxAnd a first proportionality relation PyThe third coordinate system Z is converted into the second coordinate system S so that the position coordinates of the O point and the P point are respectively converted into (S) expressed by the second coordinate system Sx2,Sy2) And (S)x3,Sy3) And coordinates (S) of the O point and the P pointx2,Sy2) And (S)x3,Sy3) And outputting the data to an operating system. Wherein,
In particular, the above steps P1 to P4 are performed so that the position coordinates (S) of the cursor 53 are obtainedx4,Sy4) Position coordinates (S) between the point O and the point Px2,Sy2)、(Sx3,Sy3) And has the same result regardless of the touch gesture of the user on the touch pad 31. Of course, there are other ways of selecting the reference point, but the final purpose is to set the position coordinates of each contact point expressed by the second coordinate system S near the position coordinates of the cursor 53. Therefore, when the user wants to operate the data file pointed by the cursor 53 on the screen 52, the user does not care about the light on the screen 52The position of the cursor 53 corresponds to the position on the touch pad 31, and the touch point can correspond to the vicinity of the position of the cursor 53 on the screen 52 by arbitrarily placing the touch gesture at any position on the touch pad 31.
Next, in step P5, when the touch gesture of the user moves from the point O and the point P to the point R and the point S on the touch pad 31, the position coordinates received by the operating system are respectively from (S) and (d)x2,Sy2) And (S)x3,Sy3) Change to (S)x5,Sy5) And (S)x6,Sy6) This is shown in fig. 16. At this time, the operating system analyzes the change to obtain the command action to be executed by the touch gesture of the user, for example, the command action causes the file data pointed by the cursor 53 to be enlarged, and the enlarging process is similar to that shown in fig. 6.
Next, a description is given of a relationship between the touch device 31 and an operating system of an electronic device, referring to fig. 17, which is a schematic system diagram of a touch device applied to Windows 7 according to a preferred embodiment of the invention. Windows 7 is an operating system 8 developed by Microsoft corporation (Microsoft), and can support multi-touch applications, and therefore, has a multi-touch program 81 specifically configured to receive the position coordinates of each touch point and analyze the change of the position coordinates of each touch point to execute an instruction, and of course, Windows 7 also has a mouse pointer program 82 as in the conventional operating systems (Windows XP, Windows2000, and the like). When the touch pad 31 of the touch device 3 detects a single touch point, the touch pad 31 outputs a relative relationship between two positions before and after the touch of the user to the mouse pointer program 82, so that the whole system operates in a relative coordinate mode; when the touch pad 31 of the touch device 3 detects that the number of touch points exceeds a predetermined value, the touch pad 31 outputs the position coordinates of each touch point to the coordinate transformation program 32, and the coordinate transformation program 32 transforms the position coordinates of each touch point and transmits the transformed position coordinates to the multi-touch program 81.
As can be seen from the above description, the touch device 3 of the present invention detects the number of contact points of the user's touch gesture on the touch pad 31 to determine whether the electronic device is operated in the relative coordinate mode or the absolute coordinate mode. In addition, the coordinate transformation program 32 of the touch device 3 of the present invention enables the user to determine what the position of the cursor 53 on the screen 52 corresponds to the position on the touch pad 31 in the absolute coordinate mode, and to execute the command action around the position of the cursor 53 by placing the touch gesture at any position on the touch pad 31 for touch control.
The above-described preferred embodiments of the present invention are not intended to limit the scope of the claims, and therefore, other equivalent changes and modifications may be made without departing from the spirit of the invention.
Claims (18)
1. A method for controlling a touch pad, for sensing a touch gesture applied to the touch pad to move a position of a cursor on a screen of an electronic device or execute a command action, the touch gesture having at least one contact point on a touch pad, the method comprising: the method comprises the following steps:
detecting the number of contact points of the touch gesture on the touch pad and the position of each contact point;
when the number of the contact points is equal to one, the cursor and the command action run in a relative coordinate mode, and when the number of the contact points is more than one, the command action runs in an absolute coordinate mode.
2. The method of controlling a touch panel according to claim 1, wherein: the coordinates on the touch pad are represented by a first coordinate system, the coordinates on the screen are represented by a second coordinate system, a first proportional relation exists between the horizontal axis of the first coordinate system and the horizontal axis of the second coordinate system, and a second proportional relation exists between the vertical axis of the first coordinate system and the vertical axis of the second coordinate system.
3. The method of controlling a touch panel according to claim 2, wherein: the position coordinates of the cursor on the screen are expressed in the second coordinate system.
4. The method of controlling a touch panel according to claim 3, wherein: the operation method of the absolute coordinate mode comprises the following steps:
outputting the position coordinates of each contact point, wherein the position coordinates of each contact point are represented by the first coordinate system;
selecting a reference point, wherein the position coordinate of the reference point is represented by the first coordinate system;
translating the first coordinate system according to the reference point, so that the first coordinate system is converted into a third coordinate system with the reference point as an origin, and the position coordinate of each contact point is converted into a representation by the third coordinate system;
converting the third coordinate system into the second coordinate system according to the position coordinate of the cursor, the first proportional relationship and the second proportional relationship, so that the position coordinate of each contact point is converted into the second coordinate system; and
analyzing the change of the position coordinate of each contact point to enable the command action to be executed around the position coordinate of the cursor.
5. The method of controlling a touch panel according to claim 4, wherein: when the number of the contact points is equal to two, the position coordinate of the reference point is the central point of the position coordinates of the contact points.
6. The method of controlling a touch panel according to claim 1, wherein: when the number of the contact points is equal to one and the finger of the user moves on the touch pad, the cursor on the screen moves in the relative coordinate mode.
7. The method of controlling a touch panel according to claim 1, wherein: when the number of the contact points is equal to one, the command action enables a file data on the screen to be dragged in the relative coordinate mode.
8. The method of controlling a touch panel according to claim 1, wherein: when the number of the contact points is more than one, the command action enables a file data on the screen to be enlarged, reduced or rotated in the absolute coordinate mode.
9. A touch device is applied to an electronic device, the electronic device is provided with an operating system and a screen, and the touch device is characterized in that: the touch device is used for receiving a touch gesture to control the position of a cursor on the screen or execute an instruction action, and comprises a touch pad and a coordinate conversion program, wherein the touch pad is connected with the electronic equipment and used for receiving the touch gesture; the touch control gesture is provided with at least one contact point on the touch control plate, the touch control plate detects the number of the contact points of the touch control gesture on the touch control plate and the position of each contact point, when the number of the contact points is equal to one, the cursor and the command action run in a relative coordinate mode, and when the number of the contact points is more than one, the command action runs in an absolute coordinate mode; the coordinate conversion program is executed when the number of the contact points is more than one, and is used for converting the position coordinate of each contact point, so that the operating system executes the command action around the position of the cursor on the screen.
10. The touch device of claim 9, wherein: the coordinates on the touch pad are represented by a first coordinate system, the coordinates on the screen are represented by a second coordinate system, a first proportional relation exists between the horizontal axis of the first coordinate system and the horizontal axis of the second coordinate system, and a second proportional relation exists between the vertical axis of the first coordinate system and the vertical axis of the second coordinate system.
11. The touch device of claim 10, wherein: the position coordinates of the cursor are expressed in the second coordinate system.
12. The touch device of claim 11, wherein: when the number of the contact points is more than one, the touch pad outputs the position coordinate of each contact point to the coordinate conversion program, and the position coordinate of each contact point is represented by the first coordinate system.
13. The touch device of claim 12, wherein: when the touch pad outputs the position coordinates of each contact point to the coordinate conversion program, the coordinate conversion program selects a reference point represented by the first coordinate system, translates the first coordinate system according to the reference point, so that the first coordinate system is converted into a third coordinate system with the reference point as an origin, so that the position coordinates of each contact point are converted into a representation by the third coordinate system, and the coordinate conversion program converts the third coordinate system into the second coordinate system according to the position coordinates of the cursor, the first proportional relation and the second proportional relation, so that the position coordinates of each contact point are converted into a representation by the second coordinate system, and outputs the position coordinates of each contact point represented by the second coordinate system to the operating system.
14. The touch device of claim 13, wherein: when the number of the contact points is equal to two, the position coordinate of the reference point is the central point of the position coordinates of the contact points.
15. The touch device of claim 13, wherein: when the operating system receives the position coordinates of each contact point represented by the second coordinate system transmitted by the coordinate conversion program, the operating system analyzes the change of the position coordinates of each contact point so that the operating system executes the command action around the position coordinates of the cursor.
16. The touch device of claim 9, wherein: when the number of the contact points is equal to one and the finger of the user moves on the touch pad, the cursor on the screen moves in the relative coordinate mode.
17. The touch device of claim 9, wherein: when the number of the contact points is equal to one, the command action enables a file data on the screen to be dragged in the relative coordinate mode.
18. The touch device of claim 9, wherein: when the number of the contact points is more than one, the command action enables a file data on the screen to be enlarged, reduced or rotated in the absolute coordinate mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010175552.8A CN102253744B (en) | 2010-05-17 | 2010-05-17 | Method for controlling touch panel and touch device using method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010175552.8A CN102253744B (en) | 2010-05-17 | 2010-05-17 | Method for controlling touch panel and touch device using method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102253744A true CN102253744A (en) | 2011-11-23 |
CN102253744B CN102253744B (en) | 2014-07-02 |
Family
ID=44981041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010175552.8A Expired - Fee Related CN102253744B (en) | 2010-05-17 | 2010-05-17 | Method for controlling touch panel and touch device using method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102253744B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809890A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103838434A (en) * | 2012-11-21 | 2014-06-04 | 纬创资通股份有限公司 | Switching method, optical touch device using the same and computer program product thereof |
CN104025003A (en) * | 2012-01-06 | 2014-09-03 | 微软公司 | Panning animation |
CN105335018A (en) * | 2014-08-07 | 2016-02-17 | 联想(北京)有限公司 | Control method and control system for electronic apparatus with touch function |
CN109656387A (en) * | 2018-12-18 | 2019-04-19 | 珠海迈科智能科技股份有限公司 | A kind of membrane keyboard response method of random multipoint operation |
WO2019127208A1 (en) * | 2017-12-28 | 2019-07-04 | 李庆远 | Touch-based quick positioning method and apparatus |
CN114356192A (en) * | 2021-12-24 | 2022-04-15 | 科大讯飞股份有限公司 | Electronic interaction device and electronic interaction method |
CN116343714A (en) * | 2023-03-01 | 2023-06-27 | 业成科技(成都)有限公司 | Display screen rotation self-adaption method, device, computer equipment and storage medium |
US11762495B2 (en) | 2021-04-01 | 2023-09-19 | Asustek Computer Inc. | Electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1940837A (en) * | 2005-09-29 | 2007-04-04 | 联想(北京)有限公司 | Fast cursor positioning method |
CN101477423A (en) * | 2009-02-10 | 2009-07-08 | 苏州瀚瑞微电子有限公司 | Method for implementing automatic cursor movement on touch control plate |
CN101498984A (en) * | 2008-02-01 | 2009-08-05 | 致伸科技股份有限公司 | Computer cursor control system and method for controlling cursor movement |
US20090262086A1 (en) * | 2007-12-26 | 2009-10-22 | E-Lead Electronic Co., Ltd. | Touch-pad cursor control method |
-
2010
- 2010-05-17 CN CN201010175552.8A patent/CN102253744B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1940837A (en) * | 2005-09-29 | 2007-04-04 | 联想(北京)有限公司 | Fast cursor positioning method |
US20090262086A1 (en) * | 2007-12-26 | 2009-10-22 | E-Lead Electronic Co., Ltd. | Touch-pad cursor control method |
CN101498984A (en) * | 2008-02-01 | 2009-08-05 | 致伸科技股份有限公司 | Computer cursor control system and method for controlling cursor movement |
CN101477423A (en) * | 2009-02-10 | 2009-07-08 | 苏州瀚瑞微电子有限公司 | Method for implementing automatic cursor movement on touch control plate |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104025003A (en) * | 2012-01-06 | 2014-09-03 | 微软公司 | Panning animation |
US10872454B2 (en) | 2012-01-06 | 2020-12-22 | Microsoft Technology Licensing, Llc | Panning animations |
CN103809890A (en) * | 2012-11-13 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US9811185B2 (en) | 2012-11-13 | 2017-11-07 | Beijing Lenovo Software Ltd. | Information processing method and electronic device |
CN103838434A (en) * | 2012-11-21 | 2014-06-04 | 纬创资通股份有限公司 | Switching method, optical touch device using the same and computer program product thereof |
CN105335018A (en) * | 2014-08-07 | 2016-02-17 | 联想(北京)有限公司 | Control method and control system for electronic apparatus with touch function |
WO2019127208A1 (en) * | 2017-12-28 | 2019-07-04 | 李庆远 | Touch-based quick positioning method and apparatus |
CN109656387A (en) * | 2018-12-18 | 2019-04-19 | 珠海迈科智能科技股份有限公司 | A kind of membrane keyboard response method of random multipoint operation |
CN109656387B (en) * | 2018-12-18 | 2022-03-18 | 珠海迈科智能科技股份有限公司 | Touch key response method for random multi-point operation |
US11762495B2 (en) | 2021-04-01 | 2023-09-19 | Asustek Computer Inc. | Electronic device |
CN114356192A (en) * | 2021-12-24 | 2022-04-15 | 科大讯飞股份有限公司 | Electronic interaction device and electronic interaction method |
CN116343714A (en) * | 2023-03-01 | 2023-06-27 | 业成科技(成都)有限公司 | Display screen rotation self-adaption method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102253744B (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI413922B (en) | Control method for touchpad and touch device using the same | |
CN102253744B (en) | Method for controlling touch panel and touch device using method | |
US8355007B2 (en) | Methods for use with multi-touch displays for determining when a touch is processed as a mouse event | |
RU2505848C2 (en) | Virtual haptic panel | |
EP2631766B1 (en) | Method and apparatus for moving contents in terminal | |
US9052813B2 (en) | Information-processing apparatus and programs used in information-processing apparatus | |
TWI451309B (en) | Touch device and its control method | |
US20110018806A1 (en) | Information processing apparatus, computer readable medium, and pointing method | |
US20100241956A1 (en) | Information Processing Apparatus and Method of Controlling Information Processing Apparatus | |
US20120304199A1 (en) | Information processing apparatus, information processing method, and computer program | |
TW201421350A (en) | Method for displaying images of touch control device on external display device | |
US20120297336A1 (en) | Computer system with touch screen and associated window resizing method | |
KR20140033839A (en) | Method??for user's??interface using one hand in terminal having touchscreen and device thereof | |
JP5275429B2 (en) | Information processing apparatus, program, and pointing method | |
KR20080064390A (en) | Touch-screen device, and control method for the same | |
US20100271300A1 (en) | Multi-Touch Pad Control Method | |
US8274476B2 (en) | Computer cursor control system | |
TWI439922B (en) | Handheld electronic apparatus and control method thereof | |
TWI547862B (en) | Multi - point handwriting input control system and method | |
JP4904239B2 (en) | Input processing method and input control apparatus | |
KR101381878B1 (en) | Method, device, and computer-readable recording medium for realizing touch input using mouse | |
US20140085197A1 (en) | Control and visualization for multi touch connected devices | |
JP6095527B2 (en) | Portable information processing apparatus, data processing method thereof, and computer-executable program | |
KR20140083303A (en) | Method for providing user interface using one point touch, and apparatus therefor | |
JP4904240B2 (en) | Input processing method and input control apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140702 Termination date: 20190517 |
|
CF01 | Termination of patent right due to non-payment of annual fee |