aboutsummaryrefslogtreecommitdiff
path: root/keyboards/reviung/reviung39/keymaps
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-20 17:11:49 +1000
committerGitHub <[email protected]>2024-05-20 17:11:49 +1000
commit5fda3490187a7448176b7d37bf16c1cd1d80b736 (patch)
tree23a5211be52919c9fc8b8981c6b53870c6a6cf54 /keyboards/reviung/reviung39/keymaps
parent48c0b601412513c83e31bd818c1ce2127682d567 (diff)
downloadqmk_firmware-5fda3490187a7448176b7d37bf16c1cd1d80b736.tar.gz
qmk_firmware-5fda3490187a7448176b7d37bf16c1cd1d80b736.zip
Remove RGB keycodes from boards with no RGB config (#23709)
Diffstat (limited to 'keyboards/reviung/reviung39/keymaps')
-rw-r--r--keyboards/reviung/reviung39/keymaps/default/config.h37
-rw-r--r--keyboards/reviung/reviung39/keymaps/default/rules.mk1
-rw-r--r--keyboards/reviung/reviung39/keymaps/default_s/config.h21
-rw-r--r--keyboards/reviung/reviung39/keymaps/default_s/rules.mk1
-rw-r--r--keyboards/reviung/reviung39/keymaps/via/keymap.c4
-rw-r--r--keyboards/reviung/reviung39/keymaps/via/rules.mk1
6 files changed, 4 insertions, 61 deletions
diff --git a/keyboards/reviung/reviung39/keymaps/default/config.h b/keyboards/reviung/reviung39/keymaps/default/config.h
deleted file mode 100644
index d882e8ad94..0000000000
--- a/keyboards/reviung/reviung39/keymaps/default/config.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright 2019 gtips
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-// place overrides here
-
-#define WS2812_DI_PIN D3
- #define RGBLIGHT_LED_COUNT 11
- #define RGBLIGHT_HUE_STEP 16
- #define RGBLIGHT_SAT_STEP 16
- #define RGBLIGHT_VAL_STEP 16
- #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
- #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
diff --git a/keyboards/reviung/reviung39/keymaps/default/rules.mk b/keyboards/reviung/reviung39/keymaps/default/rules.mk
deleted file mode 100644
index 1e3cebb145..0000000000
--- a/keyboards/reviung/reviung39/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes
diff --git a/keyboards/reviung/reviung39/keymaps/default_s/config.h b/keyboards/reviung/reviung39/keymaps/default_s/config.h
index 3fd3c73fcc..816f0b0fcf 100644
--- a/keyboards/reviung/reviung39/keymaps/default_s/config.h
+++ b/keyboards/reviung/reviung39/keymaps/default_s/config.h
@@ -16,22 +16,5 @@
#pragma once
-// place overrides here
-
-#define WS2812_DI_PIN D3
- #define RGBLIGHT_LED_COUNT 6
- #define RGBLIGHT_HUE_STEP 16
- #define RGBLIGHT_SAT_STEP 16
- #define RGBLIGHT_VAL_STEP 16
- #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
- #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
+#undef RGBLIGHT_LED_COUNT
+#define RGBLIGHT_LED_COUNT 6
diff --git a/keyboards/reviung/reviung39/keymaps/default_s/rules.mk b/keyboards/reviung/reviung39/keymaps/default_s/rules.mk
deleted file mode 100644
index 1e3cebb145..0000000000
--- a/keyboards/reviung/reviung39/keymaps/default_s/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes
diff --git a/keyboards/reviung/reviung39/keymaps/via/keymap.c b/keyboards/reviung/reviung39/keymaps/via/keymap.c
index 585cdb3518..aba882337d 100644
--- a/keyboards/reviung/reviung39/keymaps/via/keymap.c
+++ b/keyboards/reviung/reviung39/keymaps/via/keymap.c
@@ -45,8 +45,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[_ADJUST] = LAYOUT(
- RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, XXXXXXX, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ UG_VALU, UG_SATU, UG_HUEU, UG_NEXT, XXXXXXX, UG_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ UG_VALD, UG_SATD, UG_HUED, UG_PREV, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, XXXXXXX, _______
),
diff --git a/keyboards/reviung/reviung39/keymaps/via/rules.mk b/keyboards/reviung/reviung39/keymaps/via/rules.mk
index 5d85ccd103..36b7ba9cbc 100644
--- a/keyboards/reviung/reviung39/keymaps/via/rules.mk
+++ b/keyboards/reviung/reviung39/keymaps/via/rules.mk
@@ -1,3 +1,2 @@
VIA_ENABLE = yes
-RGBLIGHT_ENABLE = no
LTO_ENABLE = yes