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_long_press_heavy {
17                    effectName = "haptic.long_press.heavy";
18                    type = 1;
19                    seq = [0, 80];
20                }
21                haptic_long_press_medium {
22                    effectName = "haptic.long_press.medium";
23                    type = 1;
24                    seq = [0, 80];
25                }
26                haptic_long_press_light {
27                    effectName = "haptic.long_press.light";
28                    type = 1;
29                    seq = [0, 80];
30                }
31                haptic_fail {
32                    effectName = "haptic.fail";
33                    type = 1;
34                    seq = [0, 60];
35                }
36                haptic_charging {
37                    effectName = "haptic.charging";
38                    type = 1;
39                    seq = [0, 100];
40                }
41                haptic_slide_light {
42                    effectName = "haptic.slide.light";
43                    type = 1;
44                    seq = [0, 10];
45                }
46                haptic_threshold {
47                    effectName = "haptic.threshold";
48                    type = 1;
49                    seq = [0, 42];
50                }
51                haptic_default_effect {
52                    effectName = "haptic.default.effect";
53                    type = 0;
54                    seq = [0, 3, 800, 1];
55                }
56            }
57        }
58    }
59}
60