CN102298444A - Operation method for simulating mouse on cell phone - Google Patents
Operation method for simulating mouse on cell phone Download PDFInfo
- Publication number
- CN102298444A CN102298444A CN2010102120902A CN201010212090A CN102298444A CN 102298444 A CN102298444 A CN 102298444A CN 2010102120902 A CN2010102120902 A CN 2010102120902A CN 201010212090 A CN201010212090 A CN 201010212090A CN 102298444 A CN102298444 A CN 102298444A
- Authority
- CN
- China
- Prior art keywords
- mouse
- buffer
- click
- mobile phone
- information
- 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
Abstract
The invention discloses an operation method for simulating a mouse on a cell phone. The operation method comprises the following working processes of: firstly, randomly entering a certain cell phone interface; then initiating the position information value and some resource icon information of the mouse at first by a program; then simulating movement operation through up, down, left and right keys to mainly control the icon movement and positioning operation of the mouse; simulating double-click and single click through an intermediate key, wherein once limited double-click is defined as twice clicks within certain time interval; and judging whether a certain function is started or not according to a current coordinate value of the mouse. According to the operation method, the operation is as simple as operation on a computer.
Description
Technical field
The present invention relates to technical field of electronic equipment, relate in particular to the method for operating of analog mouse on a kind of mobile phone.
Background technology
The mode of operation of the multimedia interface of platform mobile phone was more common in the past, just moved by simple key-press control, and right and left key enters and withdraws from, OK key startup etc.; Can not be with other products difference general layoutization to some extent; Therefore, the present invention gropes by research, developed a kind of by coming the mouse action measure on the analogue computer in the mobile phone, relating to mouse in this programme moves, click, operations such as double-click utilize icon buffer merge technology, be the solution of the mouse action on the cover simulation computer, surmount Related product thereby reach.
Summary of the invention
At the deficiency of prior art, the object of the present invention is to provide the mouse operation method on a kind of analogue computer, better more humane operation style.
The objective of the invention is to be achieved through the following technical solutions:
The method of operating of analog mouse on a kind of mobile phone, described this operation element process is at first at will to enter certain mobile phone interface, enter back program at first positional information value and some resource icon information of initialization mouse, passing through up and down then, button is the mobile operation of simulation, major control mouse icon moves and positioning action, double-click and click by middle key and simulate, in twice is pressed to certain time interval, then be once limited double-click, by the current coordinate figure that is in of mouse, judge whether to carry out to start certain function, so simple as mouse action on the computer.
Described on interface screen face to face, mouse can rest on certain position of screen through after the initialization, is incorporated as XY[100 here, 100], buffer and current layer region buffer by mouse merges then, by the brush buffer mode mouse pointer that just drawn.
After the described initialization, mouse is waited the input of MMI contact bed external information, import key assignments up and down, after program receives the message up and down of outside input, the dwFlags parameter transforms to the mmi_mouse_SetCursorPos function and realizes the mouse move operation, before moving and after moving, move the buffer information that keeps a mouse pointer layer earlier that goes up, the buffer information that keeps a current active coating again, mouse zone buffer and screen buffer do a buffer intersection merge process then, have just realized the realization of background and current mouse.
Description of drawings
Fig. 1 is a principle of work block diagram of the present invention;
Fig. 2 is the decomposing schematic representation of the pattern on the principle of work of the present invention.
Embodiment
Below in conjunction with accompanying drawing, further specify the present invention and how to realize:
At first we are chosen in the explanation of the enterprising line operate of master menu, and flow process roughly is the initialization mouse, and the release of current interface mouse message resource is withdrawed from the operation of current mouse (move, click or double-click etc.); The relevant simulation of mouse implementation method: analog mouse is clicked, and then calls the mmi_mouse_event function and sends the message that message that mouse message is pressed and mouse are upspring for twice respectively; Analog mouse is double-clicked, and then calls the mmi_mouse_event function four times, is respectively the message of pressing and upspringing.
As shown in Figure 1, on interface screen face to face, mouse can rest on certain position of screen through after the initialization, here be incorporated as XY[100,100], buffer and the current layer region buffer by mouse merges then, by the brush buffer mode mouse pointer that just drawn.
After the initialization, mouse is waited the input of MMI contact bed external information, import key assignments up and down, after program receives the message up and down of outside input, the dwFlags parameter transforms to the mmi_mouse_SetCursorPos function and realizes the mouse move operation, before moving and after moving, move the buffer information that keeps a mouse pointer layer earlier that goes up, the buffer information that keeps a current active coating again, mouse zone buffer and screen buffer do a buffer intersection merge process then, have just realized the realization of background and current mouse.
DwFlags parameter meaning
MOUSE_EVENT_MOVE ﹠amp; H1, rolling mouse
M0USE_EVENT_LEFTDOWN ﹠amp; H2, the analog mouse left button is pressed
M0USE_EVENT_LEFTUP ﹠amp; H4, the analog mouse left button lifts
MOUSE_EVENT_RIGHTDOWN ﹠amp; H8, the analog mouse right button is pressed
MOUSE_EVENT_RIGHTUP ﹠amp; H10, the analog mouse right button lifts
MOUSE_EVENT_MIDDLEDOWN ﹠amp; H20, key is pressed in the analog mouse
MOUSE_EVENT_MIDDLEUP ﹠amp; H40, key lifts in the analog mouse
MOUSE_EVENT_ABSOLOTE ﹠amp; H8000 indicates and whether adopts absolute coordinates
On the mouse we to have encapsulated mouse be a widget container, mouse widge implements control mouse widge current state information value by the parameter and the function of the inside, the main information structure is as follows
//mouse?widget?struct
typedef?struct{
U16win_id;
MMI_BOOL_visible;
MousePoint?cur_point;
MousePoint?bak_point;
Gdi_image_cache_bmp_struct mouse_backup_bitmap; // current background
Gdi_image_cache_bmp_struct mouse_backup_bitmap 1; // background before moving
Gdi_image_cache_bmp_struct mouse_bitmap; // mouse data
mouse_widget_setcursorpos*setMousePos;
mouse_widget_event*setMouseEvent;
}mouse_widget;
Check that the demonstration step on the schematic diagram is:
A. initialization mouse message.
B. by operation implementation process by key control mobile phone mouse.
C. the release of mouse message.
Claims (3)
1. the method for operating of analog mouse on the mobile phone, it is characterized in that: this method of operating at first enters mobile phone interface, enter program at first positional information value and some resource icon information of initialization mouse, passing through up and down then, button is the simulation move operation, major control mouse icon moves and positioning action, double-click and click by middle key and simulate, in twice is pressed to certain time interval, then be once limited double-click, by the current coordinate figure that is in of mouse, judge whether to carry out to start certain function.
2. the method for operating of analog mouse on a kind of mobile phone according to claim 1, it is characterized in that: described on interface screen, mouse can rest on certain position of screen through after the initialization, here be incorporated as XY[100,100], buffer and current layer region buffer by mouse merges then, by the brush buffer mode mouse pointer that just drawn.
3. the method for operating of analog mouse on a kind of mobile phone according to claim 1, it is characterized in that: after the described initialization, mouse is waited the input of MMI contact bed external information, import key assignments up and down, after program receives the message up and down of outside input, the dwFlags parameter transforms to the mmi_mouse_SetCursorPos function and realizes the mouse move operation, before moving and after moving, move the buffer information that keeps a mouse pointer layer earlier that goes up, the buffer information that keeps a current active coating again, mouse zone buffer and screen buffer do a buffer intersection merge process then, have realized the realization of background and current mouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102120902A CN102298444A (en) | 2010-06-25 | 2010-06-25 | Operation method for simulating mouse on cell phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102120902A CN102298444A (en) | 2010-06-25 | 2010-06-25 | Operation method for simulating mouse on cell phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102298444A true CN102298444A (en) | 2011-12-28 |
Family
ID=45358901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102120902A Pending CN102298444A (en) | 2010-06-25 | 2010-06-25 | Operation method for simulating mouse on cell phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102298444A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015035779A1 (en) * | 2013-09-10 | 2015-03-19 | 中兴通讯股份有限公司 | Method and apparatus for changing icon position of touch screen terminal, and mobile terminal |
CN104679348A (en) * | 2013-11-28 | 2015-06-03 | 张云山 | Moving device with optical indicator and indicating method thereof |
CN106293488A (en) * | 2016-08-04 | 2017-01-04 | 深圳市鸿宇顺软件有限公司 | A kind of implementation method of the virtual mouse for non-touch screen smart machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042611A (en) * | 2006-03-24 | 2007-09-26 | 英华达(上海)电子有限公司 | Key structure of touch panel and method of use thereof |
CN101739195A (en) * | 2008-11-27 | 2010-06-16 | 三竹资讯股份有限公司 | Operation method of stock tape reading software of mobile device |
-
2010
- 2010-06-25 CN CN2010102120902A patent/CN102298444A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042611A (en) * | 2006-03-24 | 2007-09-26 | 英华达(上海)电子有限公司 | Key structure of touch panel and method of use thereof |
CN101739195A (en) * | 2008-11-27 | 2010-06-16 | 三竹资讯股份有限公司 | Operation method of stock tape reading software of mobile device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015035779A1 (en) * | 2013-09-10 | 2015-03-19 | 中兴通讯股份有限公司 | Method and apparatus for changing icon position of touch screen terminal, and mobile terminal |
CN104679348A (en) * | 2013-11-28 | 2015-06-03 | 张云山 | Moving device with optical indicator and indicating method thereof |
CN106293488A (en) * | 2016-08-04 | 2017-01-04 | 深圳市鸿宇顺软件有限公司 | A kind of implementation method of the virtual mouse for non-touch screen smart machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130212541A1 (en) | Method, a device and a system for receiving user input | |
CN103187041B (en) | Control method of flexible display and flexible display | |
CN102830930B (en) | The processing method of a kind of keyboard, device and multimedia terminal | |
CN103226434B (en) | A kind of method that menu information is shown and device | |
TW201201091A (en) | Electronic interaction apparatus and real time interaction method for electronic apparatus | |
WO2018063836A1 (en) | User interfaces for bi-manual control | |
CN103092518B (en) | A kind of mobile accurate touch control method of cloud desktop based on RDP agreement | |
JP2013175242A (en) | Method system and software for providing image sensor based human machine interfacing | |
CN101963857A (en) | Touch device, control method and control unit for multi-touch environment | |
CN104364734A (en) | Remote session control using multi-touch inputs | |
CN102929556A (en) | Method and equipment for interaction control based on touch screen | |
CN104063128A (en) | Information processing method and electronic equipment | |
CN102637127A (en) | Method for controlling mouse modules and electronic device | |
CN104281398A (en) | Touch keyboard key variable method and terminal | |
CN104077066A (en) | Portable device and operation method | |
US20150138085A1 (en) | Electronic apparatus for simulating or interfacing a backward compatible human input device by means or control of a gesture recognition system | |
CN103389876A (en) | Function switching method based on touch display equipment and touch display equipment | |
CN102968245B (en) | Mouse touches cooperative control method, device and Intelligent television interaction method, system | |
CN102650925A (en) | Electronic device with touch type screen and display control method of touch type screen | |
CN102298444A (en) | Operation method for simulating mouse on cell phone | |
CN107562342A (en) | A kind of mobile terminal control device and its control method | |
US9274622B2 (en) | Device specific data in a unified pointer message | |
CN102023805A (en) | Method for assisting in browsing text messages on software interface | |
CN104714643B (en) | A kind of method, system and mobile terminal that simulated touch screen is realized using sensor | |
CN102193905A (en) | Virtual text editing method and device based on GDI (graphics device interface)/GDI+ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111228 |