Patent ID: 8244316

Claim:
An electronic device, comprising: a main body comprising a receiving surface, the receiving surface defining a receiving cavity; a keyboard positioned in the receiving cavity, the keyboard having an operating surface with a plurality of keys formed thereon; a first magnet positioned in the receiving cavity; and a second magnet positioned on the keyboard, wherein the keyboard is received in the receiving cavity, the operating surface of the keyboard is coplanar with the receiving surface of the main body; a sidewall of the receiving cavity defines a cut-out adjacent to the keyboard; the keyboard is capable of being taken out of the receiving cavity by an external force exerting on a portion of the keyboard adjacent to the cut-out; the first magnet is positioned in the receiving cavity, and the first magnet defines a first opening; the second magnet is positioned on the keyboard, and the second magnet defines a second opening; the first opening is substantially aligned with the second opening; the first opening and the second opening are adjacent to the cut-out after the keyboard is fixed to the main body.