Capacitance sensor electrodes are arranged in a form of matrix on a semiconductor
substrate and coated with a cover film. These capacitance sensor electrodes are
connected to a drive circuit. ESD electrodes are arranged in the vicinities of
corner portions of the capacitance sensor electrodes. Each ESD electrode is composed
of a film containing, for example, aluminum excellent in conductivity and a TiN
film formed thereon. The ESD electrodes are grounded through the semiconductor
substrate. On each ESD electrode, a plurality of fine ESD holes reaching the ESD
electrode from a surface of the cover film are formed.