(57) Embodiments of this application provide a keyboard and an electronic device, which
can solve a problem in the related art that an input may fail when a corner end of
a key with a large length is pressed, which affects the input efficiency. According
to the keyboard provided in the embodiments of this application, a distance between
a second key and a substrate is increased by providing a groove for mounting the second
key in the substrate. In addition, in a case that distances between first electrical
contacts of keys and corresponding second electrical contacts are consistent, a depth
of the groove is designed to be greater than a maximum deformation deflection of the
second key, so that even if a corner end of the second key is bent and deformed under
a pressure, a minimum distance between the second key and the substrate can still
be greater than the distance between the first electrical contact of the second key
and the corresponding second electrical contact. Before the second key continues to
be pressed to touch a groove bottom of the groove, the contacts are in contact to
enable the second key to implement an input successfully, thereby reducing the impact
of an invalid input on input efficiency.
|

|