When you need a sunvisor, lower it for use in front or swing it to the side.

Side Extension Sunvisors (Some models)
The visor extender extends the sunvisor's range of sun shading.
To use, pull it out.

CAUTION
When moving the sunvisor, retract the visor extender to its original position. Otherwise, the visor extender could hit the rearview mirror.
Vanity MirrorsMazda 6 Owners Manual: Sas unit configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. Select the following items and perform procedures according to directions
on the screen.
...
Mazda 6 Owners Manual: Forward Sensing Camera (FSC) (Some models)
Your vehicle is equipped with a Forward Sensing Camera (FSC). The Forward Sensing
Camera (FSC) is positioned near the rearview mirror and used by the following systems.
High Beam Control System (HBC)
Lane-keep Assist System (LAS) & Lane Departure Warning System (LDWS)
Traffic Sign Reco ...