Key structures are provided. A key structure comprises a key cap, a substrate, a resilient unit, a first rod and a second rod. The first and second rods connect the substrate and the key cap. When the resilient unit is in a first position, the resilient unit abuts the first rod and exerts a lateral pre-tension force on the first rod, to hold the key cap at a first height with respect to the substrate, such that the key structure is in a normal state. When the resilient unit moves to a second position, the first rod is released from the resilient unit, and the key cap descends to a second height by gravity or an external force, such that the key structure is in a depressed state.
The invention discloses a keyswitch for preventing itself from being damaged by the entrance of water and for increasing its lifetime. The keyswitch includes a substrate, a switch, a supporting device, a deformable shielding and a keycap. The switch is mounted on the substrate. The supporting device has an upper engagement portion and a lower engagement portion engaged to the substrate. The deformable shielding has a top portion, and a plurality of apertures is formed on the top portion of the deformable shielding. The keycap thereof defines a lower surface and has a plurality of retaining lugs formed on the lower surface. In particular, the deformable shielding is capable of deforming during the movement of the keycap and further covering the substrate, the switch, and the supporting device.