Hyundai Accent: Sliding the sunroof
To open or close the sunroof (manual slide feature), pull or push the sunroof control lever backward or forward to the first detent position.
To open the sunroof (autoslide feature), press the sunroof control switch towards the rear of the vehicle for more than 0.5 second.
The sunroof will slide to the recommended open position (about 2 in. before the maximum slide open position).
To stop the sunroof sliding at any point, pull or push the sunroof control switch momentarily.
To open the sunroof to the maximum slide open position, press the the switch towards the rear of the vehicle once again and hold it until the sunroof slide all the way open.
NOTICE
To reduce wind noise while driving, we recommend you to drive at the recommended postion (about 2 in. before the maximum slide open positon).
To close the sunroof (autoslide feature), move the sunroof control switch towards the front of the vehicle for more than 0.5 second.
The sunroof will close all the way. To stop the sunroof sliding at any point, pull or push the sunroof control switch momentarily.

Automatic reversal
If an object or part of the body is detected while the sunroof is closing automatically, it will reverse direction, and then stop.
The auto reverse function does not work if a small obstacle is between the sliding glass and the sunroof sash. You should always check that all passengers and objects are away from the sunroof before closing it.
Sunroof
Tilting the sunroofRemoval
1.
Turn the ignition switch OFF and disconnect the battery
negative (-) cable.
2.
Disconnect the CVVT oil control valve connector (A).
...
Troubleshooting
Basic Troubleshooting
Basic Troubleshooting Guide
Customer Problem Analysis Sheet
Basic Inspection Procedure
Measuring Condition of Electronic Parts' Resistance
The ...
Input Speed Sensor. Troubleshooting
Signal Waveform
Fig 1) Input/Output speed sensor at low speed
Fig 2) Input/Output speed sensor at high speed
...