Patent ID: 8263886

Claim:
A key mechanism comprising: a housing whereon an opening is formed; a key button installed inside the opening of the housing; and a waterproof structure installed between the key button and a circuit board for preventing fluid from leaking into the circuit board via an interface of the housing and the key button, the waterproof structure comprising a waterproof wall disposed around the key button, a space being formed between the waterproof wall and the key button for containing the fluid leaking from the interface of the housing and the key button, the space being lower than the interface of the housing and the key button, at least one first slot or at least one first waterproof rib being formed on a side of the housing facing to the circuit board, and the corresponding at least one first waterproof rib or the corresponding at least one first slot being formed on the waterproof wall and disposed on a position corresponding to the at least one first slot or the at least one first waterproof rib for engaging with the at least one first slot or the at least one first waterproof rib so as to prevent the fluid from leaking.