Now that we have installed Raspbmc, we need a way of controlling it so that we can navigate the menus. Raspbmc is a flexible system and can be controlled via a variety of devices, from an Xbox DVD remote to a smartphone.
CEC allows users to use their existing remote control to control devices connected via HDMI. It is supported by devices that adhere to the HDMI 1.3 standard and up. You may have used this in another form already, such as when controlling a Blu-ray player with your TV remote.
Raspbmc has integrated CEC support provided by the Pulse-Eight CEC driver and may work for your device. When Raspbmc is started, if you see a notification stating that a CEC support adapter is connected, then Raspbmc has detected a CEC compatible device, and chances are, you will be able to control it with the remote that is shipped with your TV. Most recent TVs by major brands support CEC.