With the advantage of a high output voltage, triboelectric nanogenerator is very suitable for actuating capacitive devices. In this paper, a triboelectric nanogenerator (TENG) in planar sliding mode with dual-output voltages is proposed and firstly used for driving and controlling micromechanics. The TENG consists of a freestanding triboelectric-layer and two pairs of orthogonal electrodes. When the triboelectric-layer slides in plane, the dual-output voltages are proportional to the displacements in X and Y directions, respectively and independently. For the capacitive device actuated by the TENG, the driving voltage applied on the device is large if the load capacitance is small. Based on the TENG, an active piezoelectric micro-actuator with two orthogonal positioned piezoelectric bimorphs is developed for two-dimensional direction modulation. The piezoelectric bimorphs are actuated by the TENG and the movements of the light-spot in screen can be controlled and in proportion to the sliding of the triboelectric-layer in plane. Besides, an active electrostatic micro-actuator with two MEMS optical attenuators is also developed for double-channel power modulation. The electrostatic MEMS mirrors are actuated by the TENG and the double-channel attenuations can be controlled by the sliding of the triboelectric-layer in plane, respectively. This work presents the first active micro-actuators driven by the mechanical energy without an external power or mechanical joint, which has demonstrated the TENGï¿½s great capabilities and broad prospects in independent and sustainable self-powered MEMS/NEMS, and opened up a new application of the TENG as the triboelectric-voltage-controlled devices.