Sunroof Glass Control Switches
WARNING: This page is about a different car, the 2017 GMC Acadia. However, it is still accessible from the selected car via links, so may be relevant.
The sunroof control switch is connected directly to their respective controllers and provide positions for open, express open, off, close, and express close. The control switch completes the circuit between two signals provided by the control module, a reference ground input and a pull-up voltage.