主权项 |
1. An input device comprising:
a memory; and a processor coupled to the memory, configured to:
acquire touch region information including position coordinates of a plurality of sensors in a touch screen and a sensed value of each sensor,calculate a first line segment and a second line segment, the first line segment including end points of position coordinates of two sensors having a largest separation distance among the plurality of sensors included in a touch region based on the region information, the second line segment crossing the first line segment and including end points of two intersection points with an outline of the touch region, andcalculate coordinates of detected touch position by adding a vector to coordinates of a reference point of the touch region, the vector having a length obtained by multiplying a ratio of a length of the first line segment to a length of the second line segment by a predefined factor, and the vector having a direction corresponding to an angle made by the first line segment and a references vector on a screen surface of the touch screen. |