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 { 12 effectName = "haptic.clock.timer"; 13 type = 1; // 0 means built-in, 1 time series 14 seq = [600, 600, 200, 600]; // time seq 15 } 16 haptic_default_effect { 17 effectName = "haptic.default.effect"; 18 type = 0; 19 seq = [0, 3, 800, 1]; 20 } 21 } 22 } 23 } 24} 25