In order to provide the same operational feel when a controller is held backwards as when the controller is held correctly, the electronic device according to one embodiment of the present invention is configured from a housing grasped by a user in the right hand and the left hand, and has a plurality of operating units. The electronic device is provided with: a first electrode and a second electrode arranged at positions touched by the right hand and left hand of a user grasping the housing an extraction unit for extracting an electrocardiographic component of the user from an electric potential difference between the first electrode and the second electrode a determination unit for referencing a standard relating to electric potentials of electrocardiographic components stored in advance and determining whether the electrocardiographic component extracted by the extraction unit is in a positive direction or a negative direction and a changing unit for changing an assignment between each of the plurality of operating units and operation signals generated by each operation in response to the results of determination by the determination unit, assigning each of the plurality of operating unit and the operation signals according to a first relationship when the determination result is the positive direction, and assigning each of the plurality of operating units and the operation signals according to a second relationship different from the first relationship when the determination result is the negative direction.Afin de fournir la même sensation de fonctionnement lorsquun dispositif de commande est maintenu en arrière que lorsque le dispositif de commande est maintenu correctement, le dispositif électronique selon un mode de réalisation de la présente invention est configuré dun boîtier agrippé par un utilisateur dans la main droite et la main gauche, et a une pluralité dunités dopération. Le dispositif électronique comporte : une première électrode et une seconde é