A method of controlling at least one electronic device (1440; 2110), the method comprising the steps of: displaying (S1401; S4310), on a screen of a multimedia device (1400; 2100) connected to the at least one electronic device (1440; 2110), a guide message (1601; 2302; 2401; 2701) for selecting a button attached to a remote controller (1420; 2120) of the at least one electronic device (1440; 2110) for a first function among at least one function of the at least one electronic device (1440; 2110); receiving (S1421; S4320), by the multimedia device (1400; 2100), a remote control signal corresponding to the first function among the at least one function from the remote controller (1420; 2120) of the at least one electronic device (1440; 2110), when the button specified by the guide message and attached to the remote controller (1420; 2120) of the at least one electronic device (1440; 2110) is selected; storing (S1402; S4330), in a memory (205; 2107) of the multimedia device (1400; 2100), data for identifying the first function and the received remote control signal mapped to each other; displaying (S1405; S4340), on the screen of the multimedia device (1400; 2100), a graphic image (2002; 2801; 3501; 3602) including the data for identifying the first function; extracting (S1405a; S4350), by the multimedia device (1400; 2100), the remote control signal mapped to the first function if the data for identifying the first function displayed in the graphic image (2002; 2801; 3501; 3602) is selected by a remote controller (1410; 2130) of the multimedia device (1400; 2100); transmitting (S1406; S4360), by the multimedia device (1400; 2100) and to the remote controller (1410; 2130) of the multimedia device (1400; 2100), an infrared ray "IR" code value corresponding to the extracted remote control signal and a command signal to forward the IR code value to the at least one electronic device (1440; 2110); and forwarding, by the remote controller (1410; 2130) of the multimedia device (1400; 2100), the received IR code value to the at least one electronic device (1440; 2110). displaying (S1401; S4310), on a screen of a multimedia device (1400; 2100) connected to the at least one electronic device (1440; 2110), a guide message (1601; 2302; 2401; 2701) for selecting a button attached to a remote controller (1420; 2120) of the at least one electronic device (1440; 2110) for a first function among at least one function of the at least one electronic device (1440; 2110); receiving (S1421; S4320), by the multimedia device (1400; 2100), a remote control signal corresponding to the first function among the at least one function from the remote controller (1420; 2120) of the at least one electronic device (1440; 2110), when the button specified by the guide message and attached to the remote controller (1420; 2120) of the at least one electronic device (1440; 2110) is selected; storing (S1402; S4330), in a memory (205; 2107) of the multimedia device (1400; 2100), data for identifying the first function and the received remote control signal mapped to each other; displaying (S1405; S4340), on the screen of the multimedia device (1400; 2100), a graphic image (2002; 2801; 3501; 3602) including the data for identifying the first function; extracting (S1405a; S4350), by the multimedia device (1400; 2100), the remote control signal mapped to the first function if the data for identifying the first function displayed in the graphic image (2002; 2801; 3501; 3602) is selected by a remote controller (1410; 2130) of the multimedia device (1400; 2100); transmitting (S1406; S4360), by the multimedia device (1400; 2100) and to the remote controller (1410; 2130) of the multimedia device (1400; 2100), an infrared ray "IR" code value corresponding to the extracted remote control signal and a command signal to forward the IR code value to the at least one electronic device (1440; 2110); and forwarding, by the remote controller (1410; 2130) of the multimedia device (1400; 2100), the received IR code value to the at least one electronic device (1440; 2110).