Patent ID: 8564940

Claim:
A keyboard mechanism for a portable electronic device, the keyboard mechanism comprising: a keyboard; a first engaging part disposed on the keyboard and having a hollow structure; a support frame installed on a case of the portable electronic device for supporting the keyboard on the case of the portable electronic device, an opening being located at a position on the support frame corresponding to the first engaging part; and a second engaging part separating from the support frame and being a T-shaped part, an engaging hole being formed on the second engaging part, a protruding portion being formed on a side of the opening of the support frame, the protruding portion being used for penetrating through the engaging hole so as to install the keyboard on the support frame when the hollow structure passes through the opening of the support frame along an assembly direction and protrudes outwardly from the opening of the support frame and the second engaging part linearly penetrates through the hollow structure of the first engaging part along an insertion direction perpendicular to the assembly direction.