Patent ID: 8913029

Claim:
An electronic device comprising: a planar display; and a touch panel that overlaps the display and that can detect two dimensional coordinates of an indicator on a surface of the display and a vertical distance from the indicator, wherein the touch panel has a detection zone that covers at least the vertical distance which is less than a first value and greater than a second value which is smaller than the first value and where the two dimensional coordinates and the vertical distance can be detected, and a non-detection zone that covers at least the vertical distance which is greater than the first value and where at least one of the two dimensional coordinates and the vertical distance cannot be detected; the detection zone has a first zone that includes a center of the touch panel with respect to the two dimensional coordinates and a second zone that is outside the first zone with respect to the two dimensional coordinates and that adjoins the first zone; and at least the two dimensional coordinates of the indicator are taken as valid coordinates when the indicator directly enters the first zone from the non-detection zone where the vertical distance is greater than the first value, at least the two dimensional coordinates of the indicator are taken as invalid coordinates when the indicator directly enters the second zone from the non-detection zone where the vertical distance is greater than the first value, the coordinates of the indicator in the second zone are taken as invalid coordinates and at least the two dimensional coordinates of the indicator in the first zone are taken as valid coordinates when the indicator enters the first zone after directly entering the second zone from the non-detection zone where the vertical distance is greater than the first value, and at least the two dimensional coordinates of the indicator in the second zone are taken as valid coordinates when the indicator enters the second zone from the first zone, and 1) when the indicator enters the second zone after directly entering the first zone from the non-detection zone where the vertical distance is greater than the first value, or 2) when the indicator enters the second zone after directly entering the second zone from the non-detection zone where the vertical distance is greater than the first value and then entering the first zone.