For example, the inter-coordinate distance calculation circuit 112 compares coordinates at three timing, that is, a difference coordinate at the moment when the object such as the finger approaches the panel, an edge coordinate at the moment when the object contacts the finger and stands still, and a difference coordinate at the moment when the object separates from the panel, thereby calculating