BACKGROUND OF THE INVENTION
1. Technical Field
The invention relates to movement of cursor, particularly to adjustment of cursor speed shown on a screen of handheld computer.
2. Related Art
Some users may use a docking station to connect a handheld computer, such as a smartphone or tablet computer, with an input device, such as a mouse or keyboard. Usually, a wireless connection, such as BLUETOOTH, is utilized between the docking station and the handheld computer. The input device is linked to the docking station through a wired connection, such as USB. This arrangement allows users to operate the handheld computer through the external input device.
When a mouse serves as an input device, however, the speed of cursor movement will be a real problem. Because the speed of cursor movement depends on resolutions of the mouse and display of the handheld computer, the speed of cursor movement must be adjusted according to every combination of the mouse and handheld computer. The cursor will move too fast or slowly if the cursor speed is not adjusted to a proper status. This will cause inconvenience to users. However, there is no solution in the market.
SUMMARY OF THE INVENTION
An object of the invention is to provide a method for controlling cursor speed when using a mouse to move a cursor on a handheld computer through a docking station, which can allow users to manually control cursor movement speed.
To accomplish the above object, the method of the invention includes the steps of: a) wiredly connecting a mouse to a docking station; b) connecting the docking station to a handheld computer; c) showing a cursor on the handheld computer; d) manually selecting a parameter; e) determining a numeral value by a formula with the parameter; and f) moving the cursor according to the numeral value.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic view of hardware arrangement of a handheld computer, a docking station and a mouse of the invention; and
FIG. 2 is a flowchart of the method of the invention.
DETAILED DESCRIPTION OF THE INVENTION
Please refer to FIG. 1. A docking station 1 is connected to a handheld computer 3 such as a smartphone or tablet computer. The connection between the docking station 1 and the handheld computer 3 can be wireless or wired. The wired connection may be the USB (Universal Serial Bus) standard. The wireless connection between the docking station 1 and the handheld computer 3 may be the BLUETOOTH standard. Two BLUETOOTH profiles are used in the wireless connection, namely, the BLUETOOTH-HID (Human Interface Device Profile) and the BLUETOOTH-SPP (Serial Port Profile). An input device, such as a mouse 2 is linked to the docking station 1 through a wired connection, such as the USB (Universal Serial Bus) standard. After the wired and wireless connections have been completed, a cursor 311 will be shown on a display 31 of the handheld computer 3, and the cursor 311 will be moved by the mouse 2 by means of the BLUETOOTH-HID profile.
FIG. 2 shows a flowchart of the invention. In step S1, the mouse 2 is wiredly connected to the docking station 1. In step S2, the handheld computer 3 is connected to the docking station 1. As abovementioned, such a connection can be wired or wireless. In step S3, a cursor 311 is operably shown on the handheld computer 3. As a result, the cursor 311 can be moved by the mouse 2. In step S4, a user manually selects a parameter. The step S4 can be performed by a software application executed by the handheld computer 3. For example, the application may show a slider on a bar for being moved by a user and the position of the slider on the bar stands for the parameter. As an example, the parameter may be an integer R between 0 and 10000. Of course, a user may directly input the parameter without using the slider on a bar. The parameter selected is sent to the docking station 1 through the USB path or the BLUETOOTH-SPP path when the parameter has been selected. In step S5, a numeral value is determined by a formula with the parameter. For example, the formula may be (x·R/100) and (y·R/100), where x and y stand for X-ordinate and Y-ordinate, respectively. After the step S5, the cursor 311 is moved according to the value in step S6. The numeral value is a coefficient of motion of the cursor 311 so as to accelerate or decelerate the motion of the cursor 311.
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.