摘要 |
An electronic apparatus (1) is provided with a touch panel (40), a plurality of pressure-sensitive sensors (60), and a control device (90) connected to the touch panel and sensors. The control device (90) comprises the following: a touch panel control unit (91) for outputting a detection signal on the basis of an output value of the touch panel (40); setting units (94) for setting, as a reference value (OP0), an output value (OPn) of the pressure-sensitive sensors (60) of a predetermined timing, if a detection signal is inputted from the touch panel control unit (91); and first computation units (95) for computing, as a first pressing force (fn) of the pressure-sensitive sensors (60), the difference between the reference value (OP0) and the output value (OPn) of the pressure-sensitive sensors (60) of the predetermined timing onward. The setting units (94) individually set the reference value (OP0) for the plurality of pressure-sensitive sensors (60), and the first computation units (95) individually compute the first pressing force (fn) for the plurality of pressure-sensitive sensors (60) every time the output value of the pressure-sensitive sensors (60) is inputted. |