Patent ID: 8830387

Claim:
An electronic device, comprising: a shell defining a receiving space, a number of positioning grooves, and a through hole communicating with the receiving space; an image capturing device received in the receiving space, the image capturing device comprising a supporting frame, the supporting frame having a pair of rotation shafts and a matching block, the rotation shafts being rotatably connected to the shell, the matching block defining a substantially rectangular matching hole, long sides of the matching hole being perpendicular to a center axis of the rotation shafts; a sliding key comprising an operation portion and a connection portion, the operation portion positioned outside of the receiving space, the connection portion extending from the operation portion into the receiving space, the connection portion being received and slidable in the through hole; and a driving element comprising a main portion, a tail portion extending from a first end of the main portion, and at least one driving arm extending from a second end of the main portion, the main portion being connected with the connection portion, the tail portion comprising a positioning protrusion for being received in one of the positioning grooves; and a sliding pin engage with the at least one driving arm, the sliding pin comprising a sliding portion received and slidable in the matching hole for driving the supporting frame to rotate about the rotation shafts.