aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/noah/noah.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/noah/noah.c')
-rw-r--r--keyboards/matrix/noah/noah.c27
1 files changed, 9 insertions, 18 deletions
diff --git a/keyboards/matrix/noah/noah.c b/keyboards/matrix/noah/noah.c
index 64069148e..cf3340443 100644
--- a/keyboards/matrix/noah/noah.c
+++ b/keyboards/matrix/noah/noah.c
@@ -50,29 +50,20 @@ void rgblight_set(void) {
50} 50}
51#endif 51#endif
52 52
53void matrix_scan_kb(void) { matrix_scan_user(); } 53void matrix_init_kb(void) { matrix_init_user(); }
54 54
55void matrix_init_kb(void) {
56 matrix_init_user();
57}
58__attribute__((weak)) 55__attribute__((weak))
59void matrix_init_user(void) { 56void matrix_init_user(void) { }
60#ifdef RGBLIGHT_ENABLE
61 rgblight_enable();
62#endif
63 57
64#ifdef RGB_MATRIX_ENABLE 58void matrix_scan_kb(void) {
65 rgb_matrix_disable();
66#endif
67}
68
69__attribute__((weak))
70void matrix_scan_user(void) {
71#ifdef RGBLIGHT_ENABLE 59#ifdef RGBLIGHT_ENABLE
72 rgblight_task(); 60 rgblight_task();
73#endif 61#endif
62 matrix_scan_user();
74} 63}
75 64
65__attribute__((weak))
66void matrix_scan_user(void) { }
76 67
77#ifdef RGB_MATRIX_ENABLE 68#ifdef RGB_MATRIX_ENABLE
78const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { 69const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
@@ -184,9 +175,9 @@ led_config_t g_led_config = {
184 { 20, 16},{ 42, 32}, 175 { 20, 16},{ 42, 32},
185 { 45, 16},{ 50, 16},{ 65, 16},{ 80, 16},{ 95, 16},{ 70, 32},{ 84, 32},{ 98, 32}, 176 { 45, 16},{ 50, 16},{ 65, 16},{ 80, 16},{ 95, 16},{ 70, 32},{ 84, 32},{ 98, 32},
186 177
187 { 14, 32},{ 56, 32},{ 50, 48},{ 80, 48},{110, 48},{ 95, 48},{100, 64},{112, 64}, 178 { 14, 32},{ 56, 32},{ 65, 48},{ 80, 48},{110, 48},{ 95, 48},{112, 64},{100, 64},
188 { 42, 32},{ 38, 64}, 179 { 42, 32},{ 38, 64},
189 { 0, 32},{ 10, 48},{ 0, 48},{ 20, 48},{ 35, 48},{ 65, 48},{ 0, 64},{ 19, 64}, 180 { 0, 32},{ 10, 48},{ 0, 48},{ 20, 48},{ 35, 48},{ 50, 48},{ 0, 64},{ 19, 64},
190 181
191 {105, 0},{120, 0},{135, 0},{150, 0},{165, 0},{180, 0},{202, 0},{224, 0}, 182 {105, 0},{120, 0},{135, 0},{150, 0},{165, 0},{180, 0},{202, 0},{224, 0},
192 {110, 16},{224, 16}, 183 {110, 16},{224, 16},