-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathqmk_rgblight.ts
84 lines (83 loc) · 2.2 KB
/
qmk_rgblight.ts
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
import {VIAMenu} from '../menu-types';
export const qmk_rgblight: VIAMenu[] = [
{
label: 'Lighting',
content: [
{
label: 'Underglow',
content: [
{
label: 'Brightness',
type: 'range',
options: [0, 255],
content: ['id_qmk_rgblight_brightness', 2, 1],
},
{
label: 'Effect',
type: 'dropdown',
content: ['id_qmk_rgblight_effect', 2, 2],
options: [
'All Off',
'Solid Color',
'Breathing 1',
'Breathing 2',
'Breathing 3',
'Breathing 4',
'Rainbow Mood 1',
'Rainbow Mood 2',
'Rainbow Mood 3',
'Rainbow Swirl 1',
'Rainbow Swirl 2',
'Rainbow Swirl 3',
'Rainbow Swirl 4',
'Rainbow Swirl 5',
'Rainbow Swirl 6',
'Snake 1',
'Snake 2',
'Snake 3',
'Snake 4',
'Snake 5',
'Snake 6',
'Knight 1',
'Knight 2',
'Knight 3',
'Christmas',
'Gradient 1',
'Gradient 2',
'Gradient 3',
'Gradient 4',
'Gradient 5',
'Gradient 6',
'Gradient 7',
'Gradient 8',
'Gradient 9',
'Gradient 10',
'RGB Test',
'Alternating',
'Twinkle 1',
'Twinkle 2',
'Twinkle 3',
'Twinkle 4',
'Twinkle 5',
'Twinkle 6',
],
},
{
showIf: '{id_qmk_rgblight_effect} != 0',
label: 'Effect Speed',
type: 'range',
options: [0, 255],
content: ['id_qmk_rgblight_effect_speed', 2, 3],
},
{
showIf:
'{id_qmk_rgblight_effect} != 0 && {id_qmk_rgblight_effect} != 35',
label: 'Color',
type: 'color',
content: ['id_qmk_rgblight_color', 2, 4],
},
],
},
],
},
];