Patent ID: 8101879

Claim:
A key switch comprising a base panel; an attachable key top arranged above the base panel; a pair of link members to which the key top attaches so that, when the key top is attached to the pair of link members, the pair of link members interlock to each other to support the attached key top above the base panel and direct the attached key top in vertical movement in a vertical direction, the pair of link members having gear portions engaged with each other and pivoting shafts engaging the attached key top, the attached key top having pivot support sections pivotally engaging the pivoting shafts; a switch mechanism capable of opening and closing a contact section of an electric circuit in accordance with the vertical movement of the attached key top; and a displacement preventing mechanism which prevents the gear portions engaged with each other from being displaced relative to each other when attaching the key top to the pair of link members, wherein the displacement preventing mechanism includes wall members provided on the base panel, the wall members being configured as a guide of the pivot support sections when the key top is attached to the pair of link members.