Patent ID: 8624139

Claim:
An electronic device, comprising: a housing including a main body and a sidewall, two opposite latching members protruding from an inner surface of the sidewall, each latching member defining a latching groove, two retaining poles protruding from the inner surface of the side wall; a printed circuit board mounted to the housing, the printed circuit board comprising a switch; and a key button mechanism, comprising: a retaining board defining two retaining holes, portions of the retaining board retained to the latching grooves of the housing and each retaining pole retained in one of the retaining holes; a sliding board slidably mounted to the retaining board, the sliding board being capable of sliding between a first configuration and a second configuration; a key button fixed to the sliding board so the key button slides relative to the retaining board with the sliding hoard, the key button comprising an actuator; and a stopping member located between the retaining board and the sliding board, the stopping member holding the sliding board in the first configuration or the second configuration; wherein when the sliding board slides from the first configuration to the second configuration, the switch is actuated by the actuator.