主权项 |
1. An input device having a touch panel, comprising:
a touch panel controller configured to output detection data that indicates coordinates of a position on the touch panel at which part of a user's body approaches when a distance between the part of the user's body and the touch panel is within a predetermined amount; a touch operation receiving unit configured to recognize a touch operation in which the user touches the touch panel; and a hover operation receiving unit configured to recognize a hover operation performed by the user in a space proximate to a surface of the touch panel without touching the touch panel; wherein, when the detection data indicates that a touch period during which the part of the user's body touches the touch panel is detected in an approaching period defined as a time period during which the distance between the part of the user's body and the touch panel is within a predetermined length, the touch operation receiving unit:
does not recognize the touch operation when the detection data indicates that the distance between the part of the user's body and the touch panel is substantially constant during a time period other than the touch period in the approaching period; anddoes recognize the touch operation when the detection data indicates that the distance between the part of the user's body and the touch panel is not substantially constant during a time period other than the touch period in the approaching period; and the hover operation receiving unit configured to recognize the hover operation when the detection data does not indicate that the touch period is detected in the approaching period. |