CN103455178A - Method for simulating mouse with remote controller - Google Patents

Method for simulating mouse with remote controller Download PDF

Info

Publication number
CN103455178A
CN103455178A CN2013104596512A CN201310459651A CN103455178A CN 103455178 A CN103455178 A CN 103455178A CN 2013104596512 A CN2013104596512 A CN 2013104596512A CN 201310459651 A CN201310459651 A CN 201310459651A CN 103455178 A CN103455178 A CN 103455178A
Authority
CN
China
Prior art keywords
mouse
analog mouse
analog
telepilot
picture
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
Application number
CN2013104596512A
Other languages
Chinese (zh)
Inventor
史胜龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI MAIYUE INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI MAIYUE INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZHUHAI MAIYUE INFORMATION TECHNOLOGY Co Ltd filed Critical ZHUHAI MAIYUE INFORMATION TECHNOLOGY Co Ltd
Priority to CN2013104596512A priority Critical patent/CN103455178A/en
Publication of CN103455178A publication Critical patent/CN103455178A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a method for simulating a mouse with a remote controller. The function of the mouse is simulated on the traditional remote controller, and the need of interaction with a third-party APP on an Android platform is met. Any hardware and software structure of the traditional remote controller is not changed, processing is only carried out in the APP, a certain button on the remote controller is used as the switch of the simulated mouse, the upper button, the lower button, the left button, the right button and the OK button of the remote controller are used as the moving and clicking operation buttons of the simulated mouse respectively, the simulated mouse can be opened and closed, the function of the remote controller and the function of the simulated mouse do not influence each other and can be used in a crossed mode, and the interaction needs of the Android electronic products of the series are met.

Description

A kind of method of telepilot analog mouse
Technical field
The present invention relates to field of set-top, exactly refer to a kind of method of telepilot analog mouse.
Background technology
The APP of Android system nearly all realizes mutual by the finger touch screen taps, but, in the Set Top Box of Android system, the topmost telepilot that relies on is alternately realized.At present more common on Android platform is exactly the flying squirrel telepilot, but the price of this telepilot is far away higher than general telepilot, and its mouse is sensitiveer not easy to operate.
Summary of the invention
For above-mentioned defect, the technical matters that the present invention solves is to provide a kind of method of telepilot analog mouse, major part applicable APP of ability in smart mobile phone just can be installed in relevant Android electronic product, only with traditional telepilot, just can complete alternately, enlarged the applicable APP scope of Android corresponding electronic products, some need finger touch to click mutual APP, now just can complete alternately by the analog mouse in telepilot.
In order to solve above technical matters, the method for telepilot analog mouse provided by the invention comprises the following steps:
(1), draw the icon of analog mouse;
(2), the switch of analog mouse;
(3), the movement of analog mouse;
(4), the click event of analog mouse.
Preferably, the icon that step (1) is drawn analog mouse is specially: a newly-built top-level window, add an ImageView in this window, then obtain mouse picture that Android system carries this Image Display on top-level window; Perhaps with code, draw a mouse icon, mouse icon is presented on top-level window.ImageView be in Android system one be specifically designed to the control Showed Picture.
Preferably, obtain the mouse picture path that Android system carries: com.android.internal.R.drawable.pointer_arrow.
Preferably, the switch of step (2) analog mouse is specially: the analog mouse switching control key of pressing telepilot, then the state that obtains current analog mouse is judged, if analog mouse be open close analog mouse, remove top-level window, the icon of mouse disappears, and the state of new record analog mouse switch more; If analog mouse be close open analog mouse, add top-level window, show the icon of mouse, upgrade the on off state of analog mouse.
Preferably, if just started shooting or occurred extremely causing program crashing again to upgrade the on off state of mouse.
Preferably, the movement of step (3) analog mouse is specially: press the key up and down of telepilot, if do not open analog mouse, key response up and down is the function of telepilot self; If opened analog mouse, get the position (x, y) at current mouse icon place, the position of the mobile analog mouse picture that then gets on the basis of this coordinate.
Preferably, movement rule is as follows: upper key: the picture of analog mouse moves up; Lower key: the picture of analog mouse moves down; Left button: the picture of analog mouse is moved to the left; Right button: the picture of analog mouse moves right; Each mobile range has been given a default value.
Preferably, if the user pins certain key up and down not put, representative of consumer wants rolling mouse fast to arrive certain position, now the translational speed of mouse is no longer each mobile acquiescence amplitude, but the corresponding amplitude that has increased each movement on the basis of acquiescence amplitude, reach the effect of fast moving, all simulate the position that current mouse picture moves to after each movement.
Preferably, the click event of step (4) analog mouse is specially: if analog mouse is not opened, response is the OK key of telepilot; If opened analog mouse, at first obtain the position in the screen of current mouse icon place, then in this position, send two orders, one is the order pressed down, another is the order of unclamping, and completes and is equivalent to the event that finger has been clicked this position in touch-screen.
Compared with prior art, the method for telepilot analog mouse provided by the invention, the function of analog mouse on traditional telepilot, meet in Android platform the demand mutual with third party APP.Do not change any hardware and software of traditional telepilot, only in APP, processed, switch using the some buttons on telepilot as analog mouse, up and down with the OK key respectively as the operating key of movement and the click of analog mouse, not only can open but also can close analog mouse, the function of telepilot and the function of analog mouse are independent of each other can cross-reference, has met the interaction demand in this class Android electronic product.
The accompanying drawing explanation
The process flow diagram of step in the method that Fig. 1 is telepilot analog mouse in the embodiment of the present invention (1);
The process flow diagram of step in the method that Fig. 2 is telepilot analog mouse in the embodiment of the present invention (2);
The process flow diagram of step in the method that Fig. 3 is telepilot analog mouse in the embodiment of the present invention (3);
The process flow diagram of step in the method that Fig. 4 is telepilot analog mouse in the embodiment of the present invention (4).
Embodiment
For those skilled in the art can understand technical scheme provided by the present invention better, below in conjunction with specific embodiment, set forth.
Refer to Fig. 1-Fig. 4, the process flow diagram of step in the method that Fig. 1 is telepilot analog mouse in the embodiment of the present invention (1); The process flow diagram of step in the method that Fig. 2 is telepilot analog mouse in the embodiment of the present invention (2); The process flow diagram of step in the method that Fig. 3 is telepilot analog mouse in the embodiment of the present invention (3); The process flow diagram of step in the method that Fig. 4 is telepilot analog mouse in the embodiment of the present invention (4).
The method of the telepilot analog mouse that the embodiment of the present invention provides comprises the following steps:
(1), draw the icon of analog mouse, be specially: a newly-built top-level window, add an ImageView in this window, then obtain mouse picture that Android system carries this Image Display on top-level window; Perhaps with code, draw a mouse icon, mouse icon is presented on top-level window.Obtain the mouse picture path that Android system carries:
com.android.internal.R.drawable.pointer_arrow。
(2), the switch of analog mouse, be specially: the analog mouse switching control key of pressing telepilot, then the state that obtains current analog mouse is judged, if analog mouse be open close analog mouse, remove top-level window, the icon of mouse disappears, and the state of new record analog mouse switch more; If analog mouse be close open analog mouse, add top-level window, show the icon of mouse, upgrade the on off state of analog mouse.If just started shooting or occur extremely causing program crashing again to upgrade the on off state of mouse, the present embodiment is that analog mouse is set to the state of closing.
(3), the movement of analog mouse, be specially: press the key up and down of telepilot, if do not open analog mouse, key response up and down is the function of telepilot self; If opened analog mouse, get the position (x, y) at current mouse icon place, the position of the mobile analog mouse picture that then gets on the basis of this coordinate.Movement rule is as follows: upper key: the picture of analog mouse moves up; Lower key: the picture of analog mouse moves down; Left button: the picture of analog mouse is moved to the left; Right button: the picture of analog mouse moves right; Each mobile range has been given a default value.If the user pins certain key up and down not put, representative of consumer wants rolling mouse fast to arrive certain position, now the translational speed of mouse is no longer each mobile acquiescence amplitude, but the corresponding amplitude that has increased each movement on the basis of acquiescence amplitude, reach the effect of fast moving, all simulate the position that current mouse picture moves to after each movement.
(4), the click event of analog mouse, be specially: if analog mouse is not opened, response is the OK key of telepilot; If opened analog mouse, at first obtain the position in the screen of current mouse icon place, then in this position, send two orders, one is the order pressed down, another is the order of unclamping, and completes and is equivalent to the event that finger has been clicked this position in touch-screen.
The method of telepilot analog mouse provided by the invention, the function of analog mouse on traditional telepilot, meet in Android platform the demand mutual with third party APP.Do not change any hardware and software of traditional telepilot, only in APP, processed, switch using the some buttons on telepilot as analog mouse, up and down with the OK key respectively as the operating key of movement and the click of analog mouse, not only can open but also can close analog mouse, the function of telepilot and the function of analog mouse are independent of each other can cross-reference, has met the interaction demand in this class Android electronic product.Compared with prior art, the method for telepilot analog mouse provided by the invention has advantage as follows:
1, cost is low.Increase the function of analog mouse on the basis of telepilot, provided cost savings expense, do not needed to configure in addition mouse.Traditional remote controller is as the standard configuration of this electronic product, and telepilot it goes without doing any change is with regard to the many movement of mouse, click function.When using mouse, open by needs mouse, close mouse when need to use telepilot, both mutual cross-references, do not conflict, enlarged applicable APP scope in this electronic product of picture Android STB, most mobile phone A PP also can apply on these Android equipment.
2, stable, analog mouse can not touched.Real mouse can change the position of mouse icon in screen along with the movement of mouse entity, and general TV screen and user are relatively far apart, and real mouse is very flexible, and the user not necessarily can flutter with eyes at every turn and grasp the position that mouse moves to; But there are not these problems fully in analog mouse, only having the user to press up and down key just can be moved, when pinning certain key and do not put, analog mouse can also fast moving, and in mobile process, the placement location of telepilot can not have influence on the display position of mouse, the user can flutter the shift position of grasping analog mouse easily, and analog mouse situation about touching can not occur along with moving of telepilot.
3, simple to operation.With the telepilot of wireless mouse, in the time of operating mouse, need the hand-held this telepilot of user not touch, move by a small margin, move to the balance that needs to keep telepilot in the process of intended target; When carrying out clicking operation, rocking can not appear in telepilot.And the mouse of telepilot simulation not there will be above-mentioned situation fully, the random operation of hand-held remote controller only needs button just passable.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (9)

1. the method for a telepilot analog mouse, is characterized in that, comprises the following steps:
(1), draw the icon of analog mouse;
(2), the switch of analog mouse;
(3), the movement of analog mouse;
(4), the click event of analog mouse.
2. the method for telepilot analog mouse according to claim 1, it is characterized in that, the icon that step (1) is drawn analog mouse is specially: a newly-built top-level window, add an ImageView in this window, then obtain mouse picture that Android system carries this Image Display on top-level window; Perhaps also can draw a mouse icon with code, mouse icon is presented on top-level window.
3. the method for telepilot analog mouse according to claim 2, is characterized in that, obtains the mouse picture path that Android system carries: com.android.internal.R.drawable.pointer_arrow.
4. the method for telepilot analog mouse according to claim 1, it is characterized in that, the switch of step (2) analog mouse is specially: the analog mouse switching control key of pressing telepilot, then the state that obtains current analog mouse is judged, if analog mouse be open close analog mouse, remove top-level window, the icon of mouse disappears, and the state of new record analog mouse switch more; If analog mouse be close open analog mouse, add top-level window, show the icon of mouse, upgrade the on off state of analog mouse.
5. the method for telepilot analog mouse according to claim 4, is characterized in that, if just started shooting or occurred extremely causing program crashing again to upgrade the on off state of mouse.
6. the method for telepilot analog mouse according to claim 1, it is characterized in that, the movement of step (3) analog mouse is specially: press the key up and down of telepilot, if do not open analog mouse, key response up and down is the function of telepilot self; If opened analog mouse, get the position (x, y) at current mouse icon place, the position of the mobile analog mouse picture that then gets on the basis of this coordinate.
7. the method for telepilot analog mouse according to claim 6, is characterized in that, movement rule is as follows: upper key: the picture of analog mouse moves up; Lower key: the picture of analog mouse moves down; Left button: the picture of analog mouse is moved to the left; Right button: the picture of analog mouse moves right; Each mobile range has been given a default value.
8. the method for telepilot analog mouse according to claim 7, it is characterized in that, if the user pins certain key up and down not put, representative of consumer wants rolling mouse fast to arrive certain position, now the translational speed of mouse is no longer each mobile acquiescence amplitude, but on the basis of acquiescence amplitude, increased accordingly the amplitude of each movement, and reach the effect of fast moving, all simulate the position that current mouse picture moves to after each movement.
9. the method for telepilot analog mouse according to claim 1, is characterized in that, the click event of step (4) analog mouse is specially: if analog mouse is not opened, response is the OK key of telepilot; If opened analog mouse, at first obtain the position in the screen of current mouse icon place, then in this position, send two orders, one is the order pressed down, another is the order of unclamping, and completes and is equivalent to the event that finger has been clicked this position in touch-screen.
CN2013104596512A 2013-09-27 2013-09-27 Method for simulating mouse with remote controller Pending CN103455178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104596512A CN103455178A (en) 2013-09-27 2013-09-27 Method for simulating mouse with remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104596512A CN103455178A (en) 2013-09-27 2013-09-27 Method for simulating mouse with remote controller

Publications (1)

Publication Number Publication Date
CN103455178A true CN103455178A (en) 2013-12-18

Family

ID=49737629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104596512A Pending CN103455178A (en) 2013-09-27 2013-09-27 Method for simulating mouse with remote controller

Country Status (1)

Country Link
CN (1) CN103455178A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202637A (en) * 2014-08-27 2014-12-10 深圳市启望科文技术有限公司 Key remote control and target dragging method
CN104602092A (en) * 2015-02-12 2015-05-06 江苏银河电子股份有限公司 Method for adaption of intelligent set top box to mobile phone applications under Android system
CN105451051A (en) * 2014-08-27 2016-03-30 深圳市启望科文技术有限公司 Key remote control and method for controlling electronic device by use of key remote control
CN105451050A (en) * 2014-08-27 2016-03-30 深圳市启望科文技术有限公司 Key remote control and method for amplifying target
CN106557322A (en) * 2016-11-16 2017-04-05 Tcl集团股份有限公司 A kind of Android intelligent terminal shows the method and system of many mouses
CN109788356A (en) * 2018-12-19 2019-05-21 深圳市金锐显数码科技有限公司 A kind of smart television screen sliding method, apparatus and smart television based on remote controler
CN109963182A (en) * 2017-12-26 2019-07-02 深圳Tcl数字技术有限公司 A kind of compatible input method of remote controler, system, storage medium and television set
CN111935530A (en) * 2020-07-31 2020-11-13 海信视像科技股份有限公司 Display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298455A (en) * 2011-08-25 2011-12-28 Tcl集团股份有限公司 Realization method and system for remote controller with mouse function
CN102629159A (en) * 2012-03-12 2012-08-08 深圳Tcl新技术有限公司 Implementing method and device for simulating movement of mouse by remote controller
CN102750146A (en) * 2012-06-07 2012-10-24 惠州Tcl移动通信有限公司 Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
CN103197770A (en) * 2013-04-01 2013-07-10 深圳数字电视国家工程实验室股份有限公司 Method and device for TV (television) remote control simulating operation of mouse

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298455A (en) * 2011-08-25 2011-12-28 Tcl集团股份有限公司 Realization method and system for remote controller with mouse function
CN102629159A (en) * 2012-03-12 2012-08-08 深圳Tcl新技术有限公司 Implementing method and device for simulating movement of mouse by remote controller
CN102750146A (en) * 2012-06-07 2012-10-24 惠州Tcl移动通信有限公司 Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
CN103197770A (en) * 2013-04-01 2013-07-10 深圳数字电视国家工程实验室股份有限公司 Method and device for TV (television) remote control simulating operation of mouse

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202637A (en) * 2014-08-27 2014-12-10 深圳市启望科文技术有限公司 Key remote control and target dragging method
CN105451051A (en) * 2014-08-27 2016-03-30 深圳市启望科文技术有限公司 Key remote control and method for controlling electronic device by use of key remote control
CN105451050A (en) * 2014-08-27 2016-03-30 深圳市启望科文技术有限公司 Key remote control and method for amplifying target
CN104602092A (en) * 2015-02-12 2015-05-06 江苏银河电子股份有限公司 Method for adaption of intelligent set top box to mobile phone applications under Android system
CN106557322A (en) * 2016-11-16 2017-04-05 Tcl集团股份有限公司 A kind of Android intelligent terminal shows the method and system of many mouses
CN106557322B (en) * 2016-11-16 2020-09-18 Tcl科技集团股份有限公司 Method and system for displaying multiple mice by Android intelligent terminal
CN109963182A (en) * 2017-12-26 2019-07-02 深圳Tcl数字技术有限公司 A kind of compatible input method of remote controler, system, storage medium and television set
CN109788356A (en) * 2018-12-19 2019-05-21 深圳市金锐显数码科技有限公司 A kind of smart television screen sliding method, apparatus and smart television based on remote controler
CN109788356B (en) * 2018-12-19 2021-10-08 深圳市金锐显数码科技有限公司 Smart television screen sliding method and device based on remote controller and smart television
CN111935530A (en) * 2020-07-31 2020-11-13 海信视像科技股份有限公司 Display device

Similar Documents

Publication Publication Date Title
CN103455178A (en) Method for simulating mouse with remote controller
CN104572058B (en) A kind of information processing method and electronic equipment
CN105117056B (en) A kind of method and apparatus of operation touch-screen
TWI590147B (en) Touch modes
US9467729B2 (en) Method for remotely controlling smart television
US20150160849A1 (en) Bezel Gesture Techniques
CN106687922B (en) Parametric inertia and API
CN103793093A (en) Multiscreen portable terminal and touch control method thereof
JP2012145980A5 (en)
CN110928614B (en) Interface display method, device, equipment and storage medium
TW201435651A (en) Mobile communication devices and methods for operations of a man-machine interface
CN103957441A (en) Method for controlling display terminal by mobile terminal and mobile terminal
CN104469511A (en) Information processing method and electronic device
CN102141873A (en) Method for controlling electronic file
CN103914242A (en) Pointer control method of touch screen
CN103809856A (en) Information processing method and first electronic device
CN105630369B (en) Method for realizing one-hand operation of mobile terminal and mobile terminal
CN103150103A (en) Method and system for operating object and window through gesture
CN105204865A (en) Method and device for achieving closing of current window, mobile terminal and computer terminal
JP2014063224A (en) Display device, control method, control program, and recording medium
US20160062508A1 (en) Dynamic Drawers
KR20150095523A (en) Electronic apparatus and method for extracting color in electronic apparatus
CN104951211B (en) A kind of information processing method and electronic equipment
CN103150024A (en) Computer operation method
CN109144397A (en) Method for deleting, device and intelligent interaction plate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218