A cursor control method and an electronic apparatus are provided. A touch operation is received through a touch panel, and a designated region on the touch panel is set based on an initial position of the touch operation. During the execution of the touch operation, a current position of the touch operation on the touch panel is detected, and whether the current position is within the designated region is determined. If the current position is within the designated region, a cursor is moved at a first speed. If the current position is not within the designated region, a cursor is moved at a second speed.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A cursor control method for operating a cursor displayed in a display, the method comprising: receiving a touch operation through a touch panel, wherein the cursor is moved based on the touch operation; setting a designated region on the touch panel based on an initial position of the touch operation; during an execution of the touch operation, detecting a current position of the touch operation on the touch panel; determining whether the current position is within the designated region; if the current position is within the designated region, moving the cursor at a first speed; if the current position is not within the designated region, moving the cursor at a second speed, wherein the first speed is different from the second speed; determining whether a distance between the current position and a boundary of the designated region is smaller than a predetermined length; if the distance between the current position and the boundary of the designated region is smaller than the predetermined length, displaying the designated region in the touch panel; and if the distance between the current position and the boundary of the designated region is greater than or equal to the predetermined length, hiding the designated region in the touch panel.
2. The cursor control method according to claim 1 , wherein step of setting the designated region on the touch panel based on the initial position of the touch operation comprises: setting the designated region with the initial position as a center point.
3. The cursor control method according to claim 1 , where after step of setting the designated region, the method further comprises: setting a transition region surrounding a periphery of the designated region; if the current position is outside the designated region and located within the transition region, moving the cursor at the second speed; and if the current position is outside the transition region, moving the cursor at a third speed, wherein the third speed is greater than the second speed, and the second speed is greater than the first speed.
4. The cursor control method according to claim 1 , wherein the second speed is greater than the first speed.
5. The cursor control method according to claim 1 , wherein after step of setting the designated region, the method further comprises: displaying the designated region in the touch panel; and when it is detected that the touch operation is released, ending a display of the designated region.
6. The cursor control method according to claim 1 , further comprising: when it is detected that the touch operation is released, canceling a setting of the designated region.
7. An electronic apparatus, comprising: a display, displaying a cursor; a touch panel, receiving a touch operation; and a processor, coupled to the display and the touch panel, wherein the processor sets a designated region on the touch panel based on an initial position of the touch operation, detects a current position of the touch operation on the touch panel during an execution of the touch operation, determines whether the current position is within the designated region, moves the cursor at a first speed if the current position is within the designated region and moves the cursor at a second speed if the current position is not within the designated region, wherein the first speed is different from the second speed, and wherein the processor determines whether a distance between the current position and a boundary of the designated region is smaller than a predetermined length, displays the designated region in the touch panel if the distance between the current position and the boundary of the designated region is smaller than the predetermined length and hides the designated region in the touch panel if the distance between the current position and the boundary of the designated region is greater than or equal to the predetermined length.
8. The electronic apparatus according to claim 7 , wherein the processor sets the designated region with the initial position as a center point.
9. The electronic apparatus according to claim 7 , wherein the processor sets a transition region surrounding a periphery of the designated region, moves the cursor at the second speed if the current position is outside the designated region and located within the transition region and moves the cursors at a third speed if the current position is outside the transition region, wherein the third speed is greater than the second speed, and the second speed is greater than the first speed.
10. The electronic apparatus according to claim 7 , wherein the second speed is greater than the first speed.
11. The electronic apparatus according to claim 7 , wherein the processor displays the designated region in the touch panel after setting the designated region and ends displaying the designated region when detecting that the touch operation is released.
12. The electronic apparatus according to claim 7 , wherein the processor cancels a setting of the designated region when detecting that the touch operation is released.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 23, 2019
October 13, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.