Kindly refer to the video below that carries the steps on to learn a remote button on the D2 controller: