aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/light/light.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/light/light.c')
-rw-r--r--keyboards/planck/light/light.c70
1 files changed, 35 insertions, 35 deletions
diff --git a/keyboards/planck/light/light.c b/keyboards/planck/light/light.c
index f463090dd..178d28274 100644
--- a/keyboards/planck/light/light.c
+++ b/keyboards/planck/light/light.c
@@ -77,49 +77,49 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
77 {1, C9_14, C8_14, C7_14} 77 {1, C9_14, C8_14, C7_14}
78}; 78};
79 79
80const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = { 80rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
81 81
82 /*{row | col << 4} 82 /*{row | col << 4}
83 | {x=0..224, y=0..64} 83 | {x=0..224, y=0..64}
84 | | modifier 84 | | flags
85 | | | */ 85 | | | */
86 {{0|(0<<4)}, {20.36*0, 21.33*0}, 1}, 86 {{0|(0<<4)}, {20.36*0, 21.33*0}, 1},
87 {{0|(1<<4)}, {20.36*1, 21.33*0}, 0}, 87 {{0|(1<<4)}, {20.36*1, 21.33*0}, 4},
88 {{0|(2<<4)}, {20.36*2, 21.33*0}, 0}, 88 {{0|(2<<4)}, {20.36*2, 21.33*0}, 4},
89 {{0|(3<<4)}, {20.36*3, 21.33*0}, 0}, 89 {{0|(3<<4)}, {20.36*3, 21.33*0}, 4},
90 {{0|(4<<4)}, {20.36*4, 21.33*0}, 0}, 90 {{0|(4<<4)}, {20.36*4, 21.33*0}, 4},
91 {{0|(5<<4)}, {20.36*5, 21.33*0}, 0}, 91 {{0|(5<<4)}, {20.36*5, 21.33*0}, 4},
92 {{0|(6<<4)}, {20.36*6, 21.33*0}, 0}, 92 {{0|(6<<4)}, {20.36*6, 21.33*0}, 4},
93 {{0|(7<<4)}, {20.36*7, 21.33*0}, 0}, 93 {{0|(7<<4)}, {20.36*7, 21.33*0}, 4},
94 {{0|(8<<4)}, {20.36*8, 21.33*0}, 0}, 94 {{0|(8<<4)}, {20.36*8, 21.33*0}, 4},
95 {{0|(9<<4)}, {20.36*9, 21.33*0}, 0}, 95 {{0|(9<<4)}, {20.36*9, 21.33*0}, 4},
96 {{0|(10<<4)}, {20.36*10,21.33*0}, 0}, 96 {{0|(10<<4)}, {20.36*10,21.33*0}, 4},
97 {{0|(11<<4)}, {20.36*11,21.33*0}, 1}, 97 {{0|(11<<4)}, {20.36*11,21.33*0}, 1},
98 98
99 {{1|(0<<4)}, {20.36*0, 21.33*1}, 1}, 99 {{1|(0<<4)}, {20.36*0, 21.33*1}, 1},
100 {{1|(1<<4)}, {20.36*1, 21.33*1}, 0}, 100 {{1|(1<<4)}, {20.36*1, 21.33*1}, 4},
101 {{1|(2<<4)}, {20.36*2, 21.33*1}, 0}, 101 {{1|(2<<4)}, {20.36*2, 21.33*1}, 4},
102 {{1|(3<<4)}, {20.36*3, 21.33*1}, 0}, 102 {{1|(3<<4)}, {20.36*3, 21.33*1}, 4},
103 {{1|(4<<4)}, {20.36*4, 21.33*1}, 0}, 103 {{1|(4<<4)}, {20.36*4, 21.33*1}, 4},
104 {{1|(5<<4)}, {20.36*5, 21.33*1}, 0}, 104 {{1|(5<<4)}, {20.36*5, 21.33*1}, 4},
105 {{1|(6<<4)}, {20.36*6, 21.33*1}, 0}, 105 {{1|(6<<4)}, {20.36*6, 21.33*1}, 4},
106 {{1|(7<<4)}, {20.36*7, 21.33*1}, 0}, 106 {{1|(7<<4)}, {20.36*7, 21.33*1}, 4},
107 {{1|(8<<4)}, {20.36*8, 21.33*1}, 0}, 107 {{1|(8<<4)}, {20.36*8, 21.33*1}, 4},
108 {{1|(9<<4)}, {20.36*9, 21.33*1}, 0}, 108 {{1|(9<<4)}, {20.36*9, 21.33*1}, 4},
109 {{1|(10<<4)}, {20.36*10,21.33*1}, 0}, 109 {{1|(10<<4)}, {20.36*10,21.33*1}, 4},
110 {{1|(11<<4)}, {20.36*11,21.33*1}, 1}, 110 {{1|(11<<4)}, {20.36*11,21.33*1}, 1},
111 111
112 {{2|(0<<4)}, {20.36*0, 21.33*2}, 1}, 112 {{2|(0<<4)}, {20.36*0, 21.33*2}, 1},
113 {{2|(1<<4)}, {20.36*1, 21.33*2}, 0}, 113 {{2|(1<<4)}, {20.36*1, 21.33*2}, 4},
114 {{2|(2<<4)}, {20.36*2, 21.33*2}, 0}, 114 {{2|(2<<4)}, {20.36*2, 21.33*2}, 4},
115 {{2|(3<<4)}, {20.36*3, 21.33*2}, 0}, 115 {{2|(3<<4)}, {20.36*3, 21.33*2}, 4},
116 {{2|(4<<4)}, {20.36*4, 21.33*2}, 0}, 116 {{2|(4<<4)}, {20.36*4, 21.33*2}, 4},
117 {{2|(5<<4)}, {20.36*5, 21.33*2}, 0}, 117 {{2|(5<<4)}, {20.36*5, 21.33*2}, 4},
118 {{2|(6<<4)}, {20.36*6, 21.33*2}, 0}, 118 {{2|(6<<4)}, {20.36*6, 21.33*2}, 4},
119 {{2|(7<<4)}, {20.36*7, 21.33*2}, 0}, 119 {{2|(7<<4)}, {20.36*7, 21.33*2}, 4},
120 {{2|(8<<4)}, {20.36*8, 21.33*2}, 0}, 120 {{2|(8<<4)}, {20.36*8, 21.33*2}, 4},
121 {{2|(9<<4)}, {20.36*9, 21.33*2}, 0}, 121 {{2|(9<<4)}, {20.36*9, 21.33*2}, 4},
122 {{2|(10<<4)}, {20.36*10,21.33*2}, 0}, 122 {{2|(10<<4)}, {20.36*10,21.33*2}, 4},
123 {{2|(11<<4)}, {20.36*11,21.33*2}, 1}, 123 {{2|(11<<4)}, {20.36*11,21.33*2}, 1},
124 124
125 {{3|(0<<4)}, {20.36*0, 21.33*3}, 1}, 125 {{3|(0<<4)}, {20.36*0, 21.33*3}, 1},
@@ -127,9 +127,9 @@ const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
127 {{3|(2<<4)}, {20.36*2, 21.33*3}, 1}, 127 {{3|(2<<4)}, {20.36*2, 21.33*3}, 1},
128 {{3|(3<<4)}, {20.36*3, 21.33*3}, 1}, 128 {{3|(3<<4)}, {20.36*3, 21.33*3}, 1},
129 {{3|(4<<4)}, {20.36*4, 21.33*3}, 1}, 129 {{3|(4<<4)}, {20.36*4, 21.33*3}, 1},
130 {{3|(5<<4)}, {20.36*5, 21.33*3}, 0}, 130 {{3|(5<<4)}, {20.36*5, 21.33*3}, 4},
131 {{3|(5<<4)}, {20.36*5.5,21.33*3}, 0}, 131 {{3|(5<<4)}, {20.36*5.5,21.33*3}, 4},
132 {{3|(6<<4)}, {20.36*6, 21.33*3}, 0}, 132 {{3|(6<<4)}, {20.36*6, 21.33*3}, 4},
133 {{3|(7<<4)}, {20.36*7, 21.33*3}, 1}, 133 {{3|(7<<4)}, {20.36*7, 21.33*3}, 1},
134 {{3|(8<<4)}, {20.36*8, 21.33*3}, 1}, 134 {{3|(8<<4)}, {20.36*8, 21.33*3}, 1},
135 {{3|(9<<4)}, {20.36*9, 21.33*3}, 1}, 135 {{3|(9<<4)}, {20.36*9, 21.33*3}, 1},