A non-transitory computer-readable recording medium stores a template generating program for causing a computer to execute a process. The heat sink thermally contacts the back side of the housing and the printed circuit board. Furthermore, the present invention provides a method of sensing user input about an outside edge of an electronic device housing, wherein the user input is detected by a user input detector that relays a signal to a control circuit to be acted upon appropriately.