Method for Adjusting Touch Positions of Software Keyboard, Non-Transitory Computer Readable Storage Medium for Storing Thereof and Touch Screen Electrical Device Applying Thereof
First Claim
1. A method for adjusting touch positions of software keyboard applying to an electrical device with a touch screen, wherein the method for adjusting touch positions of software keyboard comprises:
- displaying a software keyboard on the touch screen, wherein the software keyboard comprises a plurality of keys, a plurality of displayed boundaries are displayed among the keys, each of the keys corresponds to a preset character respectively, each of the preset characters corresponds to a preset base center point on the touch screen respectively;
displaying the preset characters respectively to receive at least one first touched position corresponding to each of the preset characters on the touch screen;
calculating a touched offset corresponding to each of the preset characters according to the at least one first touched position corresponding to each of the preset characters respectively;
calculating at least one touched boundary among each of the preset characters and the neighboring characters thereof according to the touched offset and the preset base center point corresponding to each of the preset characters respectively;
calculating a preset close-loop scope corresponding to each of the preset characters according to the touched boundaries respectively;
receiving a second touched position on the touch screen;
identifying a corresponding character, whose corresponding close-loop scope is occupied by the second touched position; and
outputting the corresponding character.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for adjusting touch positions of software keyboard includes the following steps: a software keyboard is displayed on the touch screen. The preset characters are displayed respectively to receive at least one first touched position corresponding to each of the preset characters on the touch screen. A touched offset corresponding to each of the preset characters is calculated according to the at least one first touched position corresponding to each of the preset characters respectively. At least one touched boundary among each of the preset characters and the neighboring characters thereof is calculated according to the touched offset and the preset base center point corresponding to each of the preset characters respectively. A preset close-loop scope corresponding to each of the preset characters is calculated according to the touched boundaries respectively. Output characters according to the close-loop scopes touched.
-
Citations
13 Claims
-
1. A method for adjusting touch positions of software keyboard applying to an electrical device with a touch screen, wherein the method for adjusting touch positions of software keyboard comprises:
-
displaying a software keyboard on the touch screen, wherein the software keyboard comprises a plurality of keys, a plurality of displayed boundaries are displayed among the keys, each of the keys corresponds to a preset character respectively, each of the preset characters corresponds to a preset base center point on the touch screen respectively; displaying the preset characters respectively to receive at least one first touched position corresponding to each of the preset characters on the touch screen; calculating a touched offset corresponding to each of the preset characters according to the at least one first touched position corresponding to each of the preset characters respectively; calculating at least one touched boundary among each of the preset characters and the neighboring characters thereof according to the touched offset and the preset base center point corresponding to each of the preset characters respectively; calculating a preset close-loop scope corresponding to each of the preset characters according to the touched boundaries respectively; receiving a second touched position on the touch screen; identifying a corresponding character, whose corresponding close-loop scope is occupied by the second touched position; and outputting the corresponding character. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium with a computer program to execute a method for adjusting touch positions of software keyboard applying to an electrical device with a touch screen, wherein the method for adjusting touch positions of software keyboard comprises:
-
displaying a software keyboard on the touch screen, wherein the software keyboard comprises a plurality of keys, a plurality of displayed boundary are displayed among the keys, each of the keys corresponding to a preset character respectively, each of the preset characters corresponds to a preset base center point on the touch screen respectively; displaying the preset characters respectively to receive at least one first touched position corresponding to each of the preset characters on the touch screen; calculating a touched offset corresponding to each of the preset characters according to the at least one first touched position corresponding to each of the preset characters respectively; calculating at least one touched boundary among each of the preset characters and the neighboring characters thereof according to the touched offset and the preset base center point corresponding to each of the preset characters respectively; calculating a preset close-loop scope corresponding to each of the preset characters according to the touched boundaries respectively; receiving a second touched position on the touch screen; identifying a corresponding character, whose corresponding close-loop scope is occupied by the second touched position; and outputting the corresponding character.
-
-
9. A touch screen electrical device comprising:
-
a touch screen for displaying a software keyboard, wherein the software keyboard comprises a plurality of keys, a plurality of displayed boundaries are displayed among the keys; a storage unit for storing a preset character corresponding to each of the keys respectively and for storing a preset base center point on the touch screen corresponding to each of the preset characters respectively; and a processing unit electrically connected to the touch screen and the storage unit, wherein the processing unit comprises; a boundary setting module for displaying the preset characters respectively to receive at least one first touched position corresponding to each of the preset characters on the touch screen; an offset calculating module for calculating a touched offset corresponding to each of the preset characters according to the at least one first touched position corresponding to each of the preset characters respectively; a boundary calculating module for calculating at least one touched boundary among each of the preset characters and the neighboring characters thereof according to the touched offset and the preset base center point corresponding to each of the preset characters respectively; a curve calculating module for calculating a preset close-loop scope corresponding to each of the preset characters according to the touched boundaries respectively; and an output module for identifying and outputting a corresponding character, whose corresponding close-loop scope is occupied by the second touched position, when a second touched position on the touch screen is received, wherein the corresponding close-loop scope is one of the preset close-loop scopes. - View Dependent Claims (10, 11, 12, 13)
-
Specification