forked from logickworkshop/Flipper-IRDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.fff-ir-lint.json
88 lines (88 loc) · 1.9 KB
/
.fff-ir-lint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name-check": {
"$path-prefix": "",
"$groups": {
"power-toggle": [
"/^((power|pwr)[_\\s]*)?(toggle)?$/",
"/^((power|pwr)[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on)|toggle)$/",
"/^(turn[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on))$/"
],
"power-off": [
"/^((power|pwr)[_\\s]*)?off$/",
"/^(turn[_\\s]*)?(off)$/"
],
"power-on": [
"/^((power|pwr)[_\\s]*)?on$/",
"/^(turn[_\\s]*)?(on)$/"
],
"vol_up": [
"/^vol(ume)?[_\\s]*(up|[\\^+])$/"
],
"vol_dn": [
"/^vol(ume)?[_\\s]*(d(o?w)?n|[v\\-])$/"
],
"ch_next": [
"/^ch(an(nel)?)?[_\\s]*(up|[\\^+])$/"
],
"ch_prev": [
"/^ch(an(nel)?)?[_\\s]*(d(o?w)?n|[\\v-])$/"
],
"mute": [
"mute",
"mte",
"/^mute.*$/"
]
},
"TVs/*": {
"Power": [
"$group:power-toggle"
],
"Power_off": [
"$group:power-off"
],
"Power_on": [
"$group:power-on"
],
"Vol_up": [
"$group:vol_up"
],
"Vol_dn": [
"$group:vol_dn"
],
"Ch_next": [
"$group:ch_next"
],
"Ch_prev": [
"$group:ch_prev"
],
"Mute": [
"$group:mute"
]
},
"ACs/*": {
"Off": [
"$group:power-off"
]
},
"Audio_Receivers/*,SoundBars/*,Speakers/*": {
"Power": [
"$group:power-toggle"
],
"Power_off": [
"$group:power-off"
],
"Power_on": [
"$group:power-on"
],
"Vol_up": [
"$group:vol_up"
],
"Vol_dn": [
"$group:vol_dn"
],
"Mute": [
"$group:mute"
]
}
}
}