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 vibrator_haptic_default_time = [1, 0, 600, 800, 600, 1100, 0]; // time seq 12 vibrator_haptic_default_effect = [0, 0, 3, 800, 1]; // build-in effect 13 } 14 } 15 } 16}