The invention discloses electronic equipment. Electromagnetic induction principle, the LC resonance circuit resonates at a fixed resonance frequency and generates a magnetic field when the key is notpressed; press key, the metal sheet generates a magnetic field which is mutually exclusive to the magnetic field under the action of the magnetic field; when the key is pressed, the magnetic flux of the magnetic field of the LC resonance circuit passing through the inductance coil is equivalently reduced, the inductance value of the inductor is reduced, the resonance frequency of the LC resonancecircuit is increased finally, and finally, whether the key is pressed or not can be determined based on the resonance frequency of the LC resonance circuit. Compared with a mechanical key in the priorart, the key is simple in structure, the metal sheet can deform through the key with small force, key pressing is further detected, the key provides the hand feeling of the mechanical key, and in addition, the situation of false triggering is not likely to happen.