Patent ID: 8634942

Claim:
A controller configured to control a plurality of devices, the controller comprising: an input unit configured to input a plurality of user commands; a code storage/output unit configured to store a plurality of control commands; a transmission unit; and a control unit configured to control the input unit, the code storage/output unit and the transmission unit to selectively transmit either a first control command or a second control command of the plurality of control commands in response to one of the plurality of user commands, wherein the first control command includes a custom code for simultaneously controlling a first device and a second device, wherein the custom code discriminates manufacturers of or types of devices, wherein the first device and the second device have the same custom code, wherein the second control command includes the custom code and a separate code for controlling the first device without controlling the second device, wherein the controller further comprises: a battery unit configured to supply power to the controller; and a detecting unit configured to detect a power state of the battery unit, wherein the control unit is configured to provide a current mode based on a user command, wherein, when the current mode is mode 1 , the separate code includes identification information of the first device, wherein, when the current mode is mode 2 , the separate code includes the identification information of the first device and power state information of the controller, wherein the input unit includes at least one key, and wherein the user command is pushing the at least one key for a predetermined time.