summaryrefslogtreecommitdiff
path: root/keyboards/barleycorn_smd
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/barleycorn_smd')
-rw-r--r--keyboards/barleycorn_smd/config.h1
-rw-r--r--keyboards/barleycorn_smd/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/barleycorn_smd/config.h b/keyboards/barleycorn_smd/config.h
index 167c3b5c87..52681e9a0b 100644
--- a/keyboards/barleycorn_smd/config.h
+++ b/keyboards/barleycorn_smd/config.h
@@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/barleycorn_smd/info.json b/keyboards/barleycorn_smd/info.json
index 0f759e5f4d..471369812c 100644
--- a/keyboards/barleycorn_smd/info.json
+++ b/keyboards/barleycorn_smd/info.json
@@ -12,6 +12,9 @@
"caps_lock": "B2",
"num_lock": "B3"
},
+ "rgblight": {
+ "led_map": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5]
+ },
"ws2812": {
"pin": "E6"
},