While facing the device that you need to program, press the button that corresponds to the device you're programming (TV, DVD, AUX, etc). Hold the button down until all four mode buttons light up. After entering the three-digit code, the mode button you're programming will light up.
eBay