Patent claim: The operation detecting device according to claim 1 or 2 wherein the rescan unit divides the operation surface into a plurality of regions and sets at least one of the plurality of regions as the rescan region the at least one of the plurality of regions including the detection point of the peak value with the one sign and the detection point of the peak value with the other sign.

Related passage: The present embodiment has the advantages described below.1 The control unit 24 changes the control reference value for each capacitor C in accordance with whether or not a foreign matter exists.Then the control unit 24 obtains as the control data value the amount of change in the capacitance of each capacitor C from the corresponding control reference value.The control unit 24 detects the touching of the touch panel 11 from the control data values.Accordingly even when a foreign matter remains in contact with the operation surface 11a the control unit 24 is able to correctly recognize changes in the capacitance when a finger touches the operation surface 11a.This allows for the touching of the touch panel 11 to be correctly detected.Further when the control unit 24 determines from the raw data values that a foreign matter exists the control unit 24 sets the control reference values to the raw data reference values that are the same as the present raw data values.When the control unit 24 determines from the raw data values that there is no foreign matter the control unit 24 sets the control reference values to the initial reference values.Thus even when the touch panel 11 is swiped with the finger remaining in contact with a foreign matter the control data values are not changed in an area of the operation surface 11a from which the foreign matter has moved away.This allows for the swiping to be correctly detected.In the present embodiment the touch type input device 5 is installed in the vehicle.When the user is driving the vehicle the user may not be able to readily remove a foreign matter from the touch panel 11.Thus the structure according to the present embodiment improves the convenience by allowing for the detection of a touch even when a foreign matter is in contact with the operation surface 11a.2 When the control unit 24 determines from the raw data values that a foreign matter exists the control unit 24 further determines from the control data values newly obtained capacitances whether or not another foreign matter exists.Thus when a foreign matter comes into contact with the operation surface 11 a the control unit 24 is able to determine after a certain period of time whether another foreign matter is in contact with the operation surface 11a.Further when the control unit 24 determines the existence of a foreign matter from the control data values the control unit 24 sets each control reference value to the control data reference value that is the same as the present control data value.On the other hand when the control unit 24 determines from the control reference values that there is no foreign matter the control unit 24 sets each control reference value to the raw data reference value that is the same value as the present control reference value.Thus evenwhen different foreign matters contact the operation surface 11a at different timings the control unit 24 is able to correctly recognize changes in the capacitance of each capacitor C when a finger or the like touches the operation surface 11a.This allows for the touching of the touch panel 11 to be correctly detected.