主权项 |
1. A method for detecting a selection of a character string to be input on an input surface, the character string comprising a number of first characters and a number of second characters, a reference template on the input surface comprising all the characters which can be used to form the character string, the method comprising:
accepting as input a gesture on the input surface, the gesture comprising a first segment and a second segment,determining the first segment of the gesture and evaluating a direction of the first segment of the gesture to produce a direction vector of the first segment, the first segment having an origin point or an end point, and
determining the second segment of the gesture, wherein the selection of at least one character of the number of first characters is detected by evaluating the origin point of or the end point of the direction vector of the first segment, and wherein the selection of at least one character of the number of second characters is detected by recognizing a shape of the second segment of the gesture. |