Remove the regulator handle clip using a rag as shown.

Inner handle removal/installation
Regulator handle installationMazda 6 Service Manual: Programming the HomeLink System
CAUTION
When programming a garage door opener or a gate, disconnect the power to these
devices before performing programming. Continuous operation of the devices could
damage the motor.
The HomeLink system provides 3 buttons which can be individually selected and
programmed using the transmi ...
Mazda 6 Service Manual: Direct Mode
Direct mode can be used for temporarily switching gears by operating the steering
shift switch while the vehicle is being driven with the selector lever in the D
range.
While in direct mode, the D and M indication illuminate and the gear position
in use is illuminated. Direct mode is canceled ...