According to one embodiment, an electronic apparatus includes: a sensor
portion configured to detect an input by touch; a button portion provided
in a vicinity of the sensor portion; a first switch portion provided
correspondingly to the button portion and configured to detect an input
in response to press-down of the button portions; a second switch portion
provided correspondingly to the sensor portion and configured to detect
an input in response to press-down of the sensor portion; and a sensor
control portion configured to control an input detecting operation at the
sensor portion while both the first switch portion and the second switch
portion detect the input.