CN103558929A - Method for realizing left and right mouse button events and multi-objective operations on touch screen - Google Patents
Method for realizing left and right mouse button events and multi-objective operations on touch screen Download PDFInfo
- Publication number
- CN103558929A CN103558929A CN201310599091.0A CN201310599091A CN103558929A CN 103558929 A CN103558929 A CN 103558929A CN 201310599091 A CN201310599091 A CN 201310599091A CN 103558929 A CN103558929 A CN 103558929A
- Authority
- CN
- China
- Prior art keywords
- touch
- control
- touch screen
- point
- mouse
- 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.)
- Pending
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention provides a method for realizing left and right mouse button events and multi-objective operations on a touch screen. The method comprises the steps as follows: reference points are generated according to positions of touch points on the touch screen, and the touch screen is divided into two interaction areas according to the reference points; and the left and right mouse button events are responses to touch operations in the two interaction areas. In addition, on the basis of responses to the left mouse button events, the multi-objective operations are realized through multiple point touching or sliding touching. In the process for realizing mouse operations and the multi-objective operations on the touch screen, the operations can be finished through single-hand touching, and long waiting time and large-range moving operations are not included, so that discomfort of hands when users realize the mouse operations specifically on the touch screen is eliminated; besides, left/right hand habitual operation conversion can be realized through adjustment of ray angles for the touch operations, so that the touch experience can be enhanced, and the instinct touch feeling of people can be embodied.
Description
Technical field
The present invention relates to realize on touch screen the method for mouse event and multiple goal operation.
Background technology
On touch screen, touch-control is mutual, and advantage is not need additional configuration Input/Output Device, What You See Is What You Get; But its shortcoming is also fairly obvious, one of them is to be difficult to realize good mouse action.
In prior art, in order commenting at touch-control, to provide the function being equal to mouse action, conventionally to utilize attitude, the specific operation of hand or increase the modes such as more secondary or physical bond and realize different mouse events.
Inventor finds prior art, and there are the following problems: on touch screen, realize in the process of mouse action and multiple goal operation, between touch screen operation and mouse action, there is obvious feel difference, to user, use and brought very large puzzlement, during as operation, finger movement need to move on a large scale, grows by the time delay of operation awaits, need bimanualness etc.In multiple application, in the realization of mouse action, also there is more difference, increased the complexity of user's operation.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method that realizes mouse event and multiple goal operation on touch screen, on touch screen, realize in the process of mouse action, help user to eliminate the feel difference between touch screen operation and mouse action, realize the easy indifference sense to touch screen and control.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method that realizes mouse event and multiple goal operation on touch screen, comprising: initial touch point on touch screen, detected; Position according to touch point in touch screen, determines reference point; The relative position relation that determines described at least one touch point or touch area and reference point, determines the mouse instructions triggering.
In described method, a touch point detected and determine that its reference point comprises: detect touch point position, according to touch point in touch screen determining positions reference point with respect to the position of touch point.
In described method, the relative position relation of touch point or touch area and reference point, determines that the mouse instructions triggering comprises:
Take reference point as new true origin, draw two angle rays; According to angle ray, dividing touch area is two touch-control interaction area; According to touch point, at the touch control operation of interaction area, respond corresponding mouse left-right key instruction.
In described method, divide two interaction area and comprise: divide two rays of two panel region, two interaction area of generation can show or hide mode present.The two panel region response events according to definition, detect effective touch control operation, for the destination object response mouse left-right key event instruction of choosing.
In the method for the multiple goal operation on touch screen, comprising: on touch screen, detect effective left button operation touch-control; On touch screen, detect and effectively click or sliding touch.Effective left button touch-control detected on touch screen after, before discharging left button touch-control, other arbitrfary points are clicked and are all considered as choosing or cancelling of correspondence position effective target, and the initial slip in other arbitrfary points is all considered as choosing of the interior effective target of moving window or cancels operation; Effective left button touch-control detected on touch screen after, before discharging left button touch-control, slide for the last time, after discharging left button touch-control, be still considered as choosing or cancelling operation of effective target in moving window.
The beneficial effect of technique scheme of the present invention is as follows: owing to realizing on touch screen in the process of mouse action and multiple goal operation, singlehanded touch-control gets final product complete operation, and do not comprise high latency, move operation on a large scale, therefore eliminated user's inadaptable sensation of hand during specific implementation mouse action on touch screen; And due to this touch control operation can according to adjust x-ray angle realize left right-handed operational transformation, more can strengthen touch-control and experience, embody people's instinct touch-control sensation.
Accompanying drawing explanation
Fig. 1 is the Method And Principle schematic diagram one that the embodiment of the present invention realizes mouse event on touch screen.
Fig. 2 is the Method And Principle schematic diagram two that the embodiment of the present invention realizes mouse event on touch screen.
Fig. 3 is the Method And Principle schematic diagram three that the embodiment of the present invention realizes mouse event on touch screen.
Fig. 4 is the Method And Principle schematic diagram one that the embodiment of the present invention realizes multiple goal operation on touch screen.
Fig. 5 is the Method And Principle schematic diagram two that the embodiment of the present invention realizes multiple goal operation on touch screen.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The embodiment of the present invention provides a kind of method that realizes mouse event and multiple goal operation on touch screen, as shown in Figure 1, comprising: on described touch screen, initial touch point (x', y') first detected.Position according to initial touch point (x', y') in touch screen, does certain distance skew, determines initial point (x0, y0).For example, when initial touch point (x', y') is during in touch screen center Screen position, initial point (x0, y0) is (0,0), i.e. 2 coincidences with respect to initial touch point (x', y') skew; When initial touch point (x', y') is during in touch screen screen edge position, convenient for the ease of realizing mouse right and left key event touch-control, initial point (x0, y0) is done the skew of certain distance (d1, d2) with respect to initial touch point (x', y').
Initial point be take initial point as coordinate center after determining, builds new coordinate system, coordinate axis X', Y'.Make two ray L1, L2, be respectively angle1, angle2 with the angle of coordinate axis X', occurrence can freely define, and provides representative value angle1 herein here and gets 135 °, angle2 and get-45 °, such two rays have just formed straight line, and such value facilitates right-hand operated.As shown in Fig. 3, two x-ray angles are got respectively 45 ° ,-135 °, the more convenient left-handed operation of such value.Note, two x-ray angles not must meet makes two rays point-blank.Above value is just wherein a kind of.
In Fig. 1, article two, ray by touch screen divide for two can touch area, two of lower-left, upper rights, by the effective touch control operation in these two, effective touch-control is here defined as at the effective touch-control of initial touch point (x', y') to touch screen to the operation of leaving the effective contact touch screen detecting in the certain hour of touch screen.According to the corresponding initial touch point (x' that is judged as defining, y') left mouse button of the object Object1 of position Huo Qi position representative, right button operation, for example, can define the corresponding left mouse button of touch-control in lower-left and make the click response of left button, the click response of the corresponding right mouse button of right regions touch-control.Afterwards, detect the effective touch point in two zones of control.For example, effective touch point (x1, y1), corresponding right mouse button response, right button response can be various ways, including but not limited to display command list and other special command executable operations.Effectively touch point (x2, y2), corresponding left mouse button response.Response is the operation response for the object Object1 of Huo Qi position, initial touch point (x', y') position representative.
In Fig. 2, described two of judgements can touch area in, effectively to take touch surface be the method for judgement to touch-control, when touch surface s1 pixel number in s2 be in which can touch area at most time, being judged to be effective touch-control is corresponding response.S1 can touch area in upper right pixel number be greater than in lower-left can touch area, so, just judge the effective touch-control response of right button.S2 can touch area in lower-left pixel number be greater than in upper right can touch area, so, just judge the effective touch-control response of left button.
Method based on the judgement of mouse right and left key, can realize the method that multiobjective selection operates during the course, can be divided into a touch-control and selects and slide and select.
Initial touch point (x', y') corresponding objects Object1, the second touch point (x1', y1') corresponding objects Object2.When the effective touch-control of initial touch point (x', y') being detected and also not discharging before the touch-control of initial touch point (x', y'), effective left button touch control operation detected.In Fig. 4, effective left button touch point (x2, y2), effective touch-control detected and do not discharging this touch-control, left button touch point (x2, y2) touch control operation does not also leave touch screen, now, the touch control operation that initial touch point (x', y') touch-control completed and detected again afterwards the second touch point (x1', y1') detected.So, after left button touch point (x2, y2) touch-control completes, left button touch point (x2, y2) touch control operation leaves touch screen, has completed the selection to initial touch point (x', y') object Object1, the second touch point (x1', y1') object Object2.Similarly, before left button touch point (x2, y2) touch-control completes, touch-control that can be to a plurality of objects, realizes the selection that taps of a plurality of targets.In once putting the process of touch-control selection, to selecting the touch control operation of point again of object, the selection of this object will be considered as cancelling.
Sliding touch is realized multiple goal operation.In Fig. 5, effectively left button touch point (x2, y2), is detecting effective touch-control and is not discharging this touch-control, and left button touch point (x2, y2) touch control operation does not also leave touch screen, now, the slip of initial touch point (x', y') touch-control detected.So, at left button touch point (x2, y2) after touch-control completes, initial touch point (x', y') the once slip end point of touch-control is the second touch point (x1', y1') position and leave touch screen and complete this slide, in the scope Rect1 of slip, two object Object1, Object2 will be selected.Similarly, before left button touch point (x2, y2) touch-control completes, can complete slip repeatedly and select operation, to the object of having selected again sliding touch operation will be considered as cancelling the selection of this object.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (7)
1. on touch screen, realize a method for mouse event, it is characterized in that, comprising:
Initial touch point on touch screen, detected;
Position according to touch point in touch screen, determines reference point;
The relative position relation that determines described at least one touch point or touch area and reference point, determines the mouse instructions triggering.
2. method according to claim 1, is characterized in that, a touch point detected and determines that its reference point comprises:
Detect touch point position, according to touch point in touch screen determining positions reference point with respect to the position of touch point.
3. method according to claim 1, is characterized in that, the relative position relation of touch point or touch area and reference point determines that the mouse instructions triggering comprises:
Take reference point as new true origin, draw two angle rays;
According to angle ray, dividing touch area is two touch-control interaction area;
According to touch point, at the touch control operation of interaction area, respond corresponding mouse left-right key instruction.
4. method according to claim 3, is characterized in that, divides two interaction area and comprises:
Divide two rays of two panel region, two interaction area of generation can show or hide mode present.
5. method according to claim 3, is characterized in that corresponding the comprising of touch-control of interaction area:
The two panel region response events according to definition, detect effective touch control operation, for the destination object response mouse left-right key event instruction of choosing.
6. the method for the operation of the multiple goal on touch screen, is characterized in that, comprising:
On touch screen, detect effective left button operation touch-control;
On touch screen, detect and effectively click or sliding touch.
7. method according to claim 6, is characterized in that, effectively object touch-control comprises:
Click on touch screen except effective left button touch-control or sliding touch operation;
Effective left button touch-control detected on touch screen after, before discharging left button touch-control, other arbitrfary points are clicked and are all considered as choosing or cancelling of correspondence position effective target, and the initial slip in other arbitrfary points is all considered as choosing of the interior effective target of moving window or cancels operation;
Effective left button touch-control detected on touch screen after, before discharging left button touch-control, slide for the last time, after discharging left button touch-control, be still considered as choosing or cancelling operation of effective target in moving window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310599091.0A CN103558929A (en) | 2013-11-25 | 2013-11-25 | Method for realizing left and right mouse button events and multi-objective operations on touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310599091.0A CN103558929A (en) | 2013-11-25 | 2013-11-25 | Method for realizing left and right mouse button events and multi-objective operations on touch screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103558929A true CN103558929A (en) | 2014-02-05 |
Family
ID=50013206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310599091.0A Pending CN103558929A (en) | 2013-11-25 | 2013-11-25 | Method for realizing left and right mouse button events and multi-objective operations on touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103558929A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984476B (en) * | 2014-05-06 | 2018-03-09 | 小米科技有限责任公司 | menu display method and device |
CN109327756A (en) * | 2018-09-13 | 2019-02-12 | 歌尔科技有限公司 | The charging box and its control method and device of a kind of wireless headset |
-
2013
- 2013-11-25 CN CN201310599091.0A patent/CN103558929A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984476B (en) * | 2014-05-06 | 2018-03-09 | 小米科技有限责任公司 | menu display method and device |
CN109327756A (en) * | 2018-09-13 | 2019-02-12 | 歌尔科技有限公司 | The charging box and its control method and device of a kind of wireless headset |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101739782B1 (en) | Method and Apparatus of Touch control for Multi-Point Touch Terminal | |
TWI478010B (en) | Dual pointer management method using cooperating input sources and efficient dynamic coordinate remapping | |
US9104308B2 (en) | Multi-touch finger registration and its applications | |
US8878787B2 (en) | Multi-touch user input based on multiple quick-point controllers | |
CN104317452B (en) | Method for controlling large-screen intelligent device | |
JP2013539871A (en) | Method and apparatus for dynamically generating a touch keyboard | |
CN103902150A (en) | Simulated mouse | |
JP2013228948A5 (en) | Input receiving method, input receiving program, and input device | |
CN103823630A (en) | Virtual mouse | |
CN103870061A (en) | Method for realizing mouse function on multi-point touch control equipment | |
CN104866079A (en) | Information processing method and electronic device | |
CN103558929A (en) | Method for realizing left and right mouse button events and multi-objective operations on touch screen | |
CN105975119A (en) | Multi-target tracking method, and touch screen control method and system | |
Ahn et al. | Evaluation of edge-based interaction on a square smartwatch | |
US20150042586A1 (en) | Input Device | |
WO2017180819A3 (en) | Creation of virtual intersection points on a touchscreen to permit static, non swiping fingerprint user authentication | |
US10775981B2 (en) | Device with a touch-sensitive display comprising a mechanism to copy and manipulate modeled objects | |
US20150091803A1 (en) | Multi-touch input method for touch input device | |
CN102520816B (en) | Scaling and rotating combined touch method, device and system | |
CN102467283A (en) | Touch device with multi-touch function and touch operation method | |
CN104484117B (en) | Man-machine interaction method and device | |
TWI554938B (en) | Control method for a touch device | |
CN105468273A (en) | Method and apparatus used for carrying out control operation on device touch screen | |
TWI603226B (en) | Gesture recongnition method for motion sensing detector | |
US20140085197A1 (en) | Control and visualization for multi touch connected devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140205 |