1. Technical Field
The invention relates to combination of a personal computer and a mobile device, particularly to operable connection between input devices of a computer and a mobile device connected to the computer.
2. Related Art
Mobile devices, such as smartphones and tablets, have become an essential for most modern people. Many users of mobile devices like to connect their mobile devices to a personal computer (for example, a desktop or laptop computer) to serve as a second computer. Usually, a personal computer must be equipped with a mouse and a keyboard as input devices. Although most mobile devices are provided with a touchscreen, a mouse and keyboard are still much more convenient then a touchscreen in operation. When a user wants to use a mouse and keyboard of a personal computer to operate his or her mobile device connected to the personal computer, the user must proceed with a series of manual operations. The user cannot directly use the input devices of the personal computer to operate the mobile device without such a series of manual operations. This is not very easy for general users. However, there is no solution in the market yet.
An object of the invention is to provide a method for automatically functionally transferring input devices of a personal computer to a mobile device, which can automatically transfer the control right of input devices of a personal computer to a mobile device connected to the personal computer without any manual operation.
To accomplish the above object, the method of the invention includes the steps of: a) designating a specific USB port in the personal computer; b) detecting whether the mobile device is connected to the specific USB port; c) checking whether the mobile device has been installed with a first driver; d) installing a first driver to the mobile device; e) sending a command to the mobile device to make it serve as a GOGGLE accessory device; f) installing a second driver in the personal computer for the mobile device as a GOGGLE accessory device; g) transferring a control right of an input device of the personal computer to the mobile device; h) converting signals of the input device into a format compatible with the mobile device; and i) sending the converted signals in step g) to the mobile device.
Please refer to
The method of the invention is performed by a software application installed in the personal computer 1. So far, the software application only applies to the mobile device 3 with the ANDROID operating system. However, it will be possible that the invention can be applied to mobile devices with operating systems other than ANDROID in the future.
Please refer to
In step S2, the software application in the personal computer 1 detects whether a mobile device 3 is connected to the specific USB port 13 or not. If yes, in step S3, the software application checks whether the mobile device 3 has been installed with a first driver which matches the software application. The first driver can accept commands from the software application in the personal computer 1.
In step S4, the software application in the personal computer 1 installs a first driver to the mobile device 3 if the mobile device 3 has not been installed with the first driver. In detail, the step S4 will be executed only one time for each mobile device 3. When the mobile device 3 is not connected to the personal computer 1 at the very first time, the mobile device 3 should have been installed with the first driver and the step S4 will not need to be performed.
In step S5, the software application in the personal computer 1 sends a command to the mobile device 3 to make it serve as a GOOGLE accessory device. For ANDROID operating system, the command is an ADK (accessory development kit) command. The ADK command is used to erase the original PID (Product ID) and VID (Vendor ID) and to generate a new PID and VID as a GOOGLE accessary device. After that, the mobile device is identified as a GOOGLE accessary device.
In step S6, the software application in the personal computer 1 installs a second driver in the personal computer 1 for the mobile device 3 as a GOOGLE accessory device. Because the mobile device 3 has become a GOOGLE accessory device, the personal computer 1 must have a new driver (i.e., the second driver) to match the mobile device 3 as a GOOGLE accessory device.
In step S7, the software application in the personal computer 1 sends a command to transfer a control right of an input device 2 of the personal computer 1 to the mobile device 3.
In step S8, the software application in the personal computer 1 converts signals of the input device 2 into a format compatible with the mobile device 3. Because the personal computer 1 and the mobile device 3 separately use different operating systems, signals from the input device 2 connected to the personal computer 1 must be converted first so as to be used by the mobile device 3.
Finally, in step S9, the software application sends the converted signals to the mobile device 3. Thus the input device 2 can be used to operate the mobile device 3.
By the method of the invention, the input device 2 of the personal computer 1 can be automatically functionally transferred to the mobile device 3 without any manual operation. This is very useful and helpful for users.
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.