1root { 2 vibratorConfig { 3 boardConfig { 4 match_attr = "hdf_vibrator_driver"; 5 vibratorAttr { 6 /* 0:rotor 1:linear */ 7 deviceType = 1; 8 supportPreset = 1; 9 } 10 vibratorHapticConfig { 11 haptic_clock_timer = [1, 600, 600, 200, 600]; // time seq 12 haptic_default_effect = [0, 0, 3, 800, 1]; // build-in effect 13 } 14 } 15 } 16} 17