aboutsummaryrefslogtreecommitdiff
path: root/keyboards/snes_macropad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/snes_macropad')
-rw-r--r--keyboards/snes_macropad/keyboard.json (renamed from keyboards/snes_macropad/info.json)4
-rw-r--r--keyboards/snes_macropad/snes_macropad.c16
2 files changed, 2 insertions, 18 deletions
diff --git a/keyboards/snes_macropad/info.json b/keyboards/snes_macropad/keyboard.json
index 15e3c9ee67..3483fe8f53 100644
--- a/keyboards/snes_macropad/info.json
+++ b/keyboards/snes_macropad/keyboard.json
@@ -47,8 +47,8 @@
{"matrix": [3, 0], "x": 5.2, "y": 0, "w": 2, "h": 0.75},
{"matrix": [3, 1], "x": 10.65, "y": 0, "w": 2, "h": 0.75},
- {"matrix": [3, 2], "x": 7.9, "y": 2.5, "w": 1, "h": 0.75},
- {"matrix": [3, 3], "x": 8.9, "y": 2.5, "w": 1, "h": 0.75},
+ {"matrix": [3, 2], "x": 7.9, "y": 2.5, "h": 0.75},
+ {"matrix": [3, 3], "x": 8.9, "y": 2.5, "h": 0.75},
{"matrix": [4, 0], "x": 6, "y": 1, "w": 0.85, "h": 0.85},
{"matrix": [4, 1], "x": 6, "y": 3, "w": 0.85, "h": 0.85},
{"matrix": [4, 2], "x": 5.2, "y": 2, "w": 0.85, "h": 0.85},
diff --git a/keyboards/snes_macropad/snes_macropad.c b/keyboards/snes_macropad/snes_macropad.c
index 9f4f410fa3..74fa434fb2 100644
--- a/keyboards/snes_macropad/snes_macropad.c
+++ b/keyboards/snes_macropad/snes_macropad.c
@@ -86,22 +86,6 @@ static void setupForFlashing(void) {
// Force data to be rendered
oled_render_dirty(true);
-
- // Set alternating backlight colors
- const uint8_t max = 20;
- rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
- for (size_t i = 0; i < RGBLIGHT_LED_COUNT; ++i) {
- rgb_led_t *led_ = (rgb_led_t *)&led[i];
- switch (i % 2) {
- case 0:
- setrgb(max, 0, max, led_);
- break;
- case 1:
- setrgb(0, max, max, led_);
- break;
- }
- }
- rgblight_set();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {