1. A configurable, wall-mountable controller, including: a wall-mountable subassembly including circuitry operable in a learning mode, a cloning mode, and a control mode; an infrared receiver coupled to the circuitry; an infrared emitter coupled to the circuitry; and control keys coupled to the subassembly, wherein the circuitry in the learning mode is configurable to perform control operations in response to actuations of the control keys in the control mode, when performing said control operations the circuitry generates emulated versions of signals received at the infrared receiver during the learning mode, and the circuitry is operable in the cloning mode to learn the configuration of a second device including by receiving at the infrared receiver modulated infrared signals that have been transmitted to said infrared receiver from the second device.