Method for controlling mouse by touch panel
2014
The invention relates to a method for controlling a mouse by a touch panel. The method comprises the following steps of S11, using the touch panel to detect a touch signal, and entering the step S12 after the touch signal is detected; S12, starting dynamic unlocking to form a dynamic unlocking area, wherein a mouse can be moved to slide in the dynamic unlocking area; S13, detecting a touch signal in the dynamic unlocking area, wherein the dynamic unlocking area is changed along with the movement of the position of a touch point in real time; entering the step S14 after the disappearing of the touch signal is detected; S14, starting click unlocking, and forming a click unlocking area around the position of the touch point with the disappeared touch signal; S15, detecting the touch signal within a time threshold; when the position of the touch signal in the current dynamic unlocking area is detected, entering the step S16; S16, when the touch signal is not detected, returning back to the step S11; S16, judging whether the position of the redetected touch signal exists in the click unlocking area or not; when the position of the redetected touch signal exists in the click unlocking area, inputting a click signal, executing the click function of the mouse, and returning back to the step S12; when the position of the redetected touch signal does not exist in the click unlocking area, returning back to the step S12.
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI