1. Technical Field
The invention relates to handheld touchscreen computers such as smartphones and tablet computers, particularly to connection between a handheld touchscreen computer and a personal computer with a cursor control device such as a mouse or a touchpad.
2. Related Art
Handheld touchscreen computers, such as smartphones and tablets, have become essential for most people. Users of handheld touchscreen computers have the need to connect their handheld touchscreen computers to an external personal computer such as a desktop or a laptop computer which serves as a second computer. Specific applications can open a subwindow within a screen picture on the display of the external personal computer to show a screen picture of the handheld touchscreen computer on the personal computer when the handheld touchscreen computer has been connected to the personal computer. A personal computer must be equipped with a cursor control device such as a mouse or a touchpad. A cursor will appear on the screen picture of the personal computer and another cursor will correspondingly appear on the screen picture of the handheld touchscreen computer. Such applications allow users to operate the handheld touchscreen computer with the cursor and cursor control device as though they are directly operating the handheld touchscreen computer.
However, neither the operating systems nor the display resolutions of a personal computer and handheld touchscreen computer are identical. Typically, a personal computer would usually use MICROSOFT WINDOWS as the operating system, and a handheld touchscreen computer would use either ANDROID or APPLE iOS. When the cursor moves within the subwindow, the application has to keep converting coordinates of every point the cursor travels into new coordinates compatible with the handheld touchscreen computer and then sending the new coordinates to the handheld touchscreen computer so as to synchronize the location and movement of the two cursors in the personal computer and the handheld touchscreen computer. This will make movement of the cursor seem seriously lagged and jumpy. However, there is no solution on the market yet.
An object of the invention is to provide a method for making a cursor control to a handheld touchscreen computer by a personal computer, which can avoid the lagging problem of movement of the cursor when it travels within the subwindow corresponding to the handheld touchscreen computer.
To accomplish the above said object, the method for making a cursor control to a handheld touchscreen computer with a first display by a personal computer with a second display and a cursor control device of the invention includes the steps of:
a) operatably connecting the handheld touchscreen computer to the personal computer, wherein a screen picture of the handheld touchscreen computer is projected on the second display of the personal computer as a subwindow, a cursor of an operating system of the personal computer is shown on the second display, and the handheld touchscreen computer is under a cursor mode;
b) directly moving the cursor by the cursor control device without coordinate conversion when no item in the subwindow is being clicked by the cursor;
c) calculating a displacement quantity of the cursor with respect to a virtual origin the subwindow when an item in the subwindow is being clicked by the cursor; and
d) generating a mouse event to an item of the handheld touchscreen computer at a position corresponding to the displacement quantity in the first display.
Please refer to
Please refer to
In step S2, the cursor 212 is directly moved by the cursor control device 22 without coordinate conversion when no item in the subwindow 211 is being clicked by the cursor 212. That is to say, the cursor 212 completely belongs to the personal computer 2 and the movement of the cursor 212 will not be lagged if no item in the subwindow 211 is clicked.
Please refer to
Finally, in step S4, a mouse event is generated to an item of the handheld touchscreen computer at a position corresponding to the displacement quantity D in the first display 11. In other words, a virtual touch is generated to an item 112 at a position according to a corresponding displacement quantity d with respect to a real origin 113 at the upper left corner of the first display 11, in which the displacement quantity d is proportional to the displacement quantity D. The item 112 in the first display 11 is the same as the item 213 in the subwindow 211. Of course, the real origin 113 is not limited to the upper left corner of the first display 11, but both the real origin 113 and the virtual origin 214 must be at the same corner of the first display 11 and the subwindow 211, respectively.
In sum, coordinate conversion will be implemented only when an item in a subwindow is being clicked, otherwise no coordinate conversion will be implemented. This will make the movement of the cursor as smooth as no link with other device.
It will be appreciated by persons skilled in the art that the above embodiment has been described by way of example only and not in any limitative sense, and that various alterations and modifications are possible without departure from the scope of the invention as defined by the appended claims.
This application is a continuation-in-part of U.S. patent application Ser. No. 14/607,046, filed Jan. 27, 2015, now pending.
Number | Name | Date | Kind |
---|---|---|---|
6999008 | Wang et al. | Feb 2006 | B2 |
7450031 | Wang et al. | Nov 2008 | B2 |
7479902 | Wang et al. | Jan 2009 | B2 |
8276085 | Sherwani | Sep 2012 | B2 |
8825034 | Ton et al. | Sep 2014 | B2 |
9098429 | Varanda et al. | Aug 2015 | B2 |
20030220988 | Hymel | Nov 2003 | A1 |
20070124358 | Levi et al. | May 2007 | A1 |
20080071935 | Ohta | Mar 2008 | A1 |
20100045611 | Nelson et al. | Feb 2010 | A1 |
20110113166 | Hung et al. | May 2011 | A1 |
20110225553 | Abramson et al. | Sep 2011 | A1 |
20120040719 | Lee | Feb 2012 | A1 |
20120098733 | Masuda | Apr 2012 | A1 |
20130050222 | Moran et al. | Feb 2013 | A1 |
20130181898 | Liu | Jul 2013 | A1 |
20130307796 | Liu | Nov 2013 | A1 |
20140189679 | Adams et al. | Jul 2014 | A1 |
20140258367 | Suryavanshi et al. | Sep 2014 | A1 |
20140258368 | Suryavanshi et al. | Sep 2014 | A1 |
20140330992 | Li | Nov 2014 | A1 |
20150363182 | He | Dec 2015 | A1 |
20160034058 | Stauber et al. | Feb 2016 | A1 |
Entry |
---|
Accessory Development Kit 2012 Guide, Android Developers—Accessory Development Kit 2012, 1-14. |
Number | Date | Country | |
---|---|---|---|
20160216782 A1 | Jul 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14607046 | Jan 2015 | US |
Child | 14924820 | US |