A button device includes a base (11) mounted to a bezel (30) of an
electronic device. A plurality of button units (17) are disposed in the
base (11), and a plurality of through holes (13) are abreast provided in
the base (11) in correspondence with the button unit (17). The button
unit (17) includes a cap (18) with an elastic member (15) supported
thereunder. The elastic member (15) integrally extends from the base (11)
and surrounds the through hole (13). A post (19) extends from the inner
bottom of the cap (18) and extends through the elastic member (15) and
the through hole. In use, the post (19) gets through the hole (13) in the
base (11) and touches the switch of the electronic device.