summaryrefslogtreecommitdiff
path: root/keyboards/keebio/stick
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/stick')
-rw-r--r--keyboards/keebio/stick/config.h3
-rw-r--r--keyboards/keebio/stick/info.json30
-rw-r--r--keyboards/keebio/stick/rules.mk1
3 files changed, 18 insertions, 16 deletions
diff --git a/keyboards/keebio/stick/config.h b/keyboards/keebio/stick/config.h
index c4b27e4324..a05b8a33f2 100644
--- a/keyboards/keebio/stick/config.h
+++ b/keyboards/keebio/stick/config.h
@@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* WS2812 RGB LED */
-#define RGB_DI_PIN D3
-#ifdef RGB_DI_PIN
# define RGBLED_NUM 12
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
@@ -88,6 +86,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
# endif
-#endif
#define TAPPING_TERM 200
diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/info.json
index 028332b5f4..d566e3df74 100644
--- a/keyboards/keebio/stick/info.json
+++ b/keyboards/keebio/stick/info.json
@@ -8,12 +8,18 @@
"pid": "0x111C",
"device_version": "1.0.0"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"encoder": {
"rotary": [
{"pin_a": "D1", "pin_b": "D0"},
{"pin_a": "D4", "pin_b": "C6"}
]
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
@@ -24,18 +30,18 @@
"layouts": {
"LAYOUT": {
"layout": [
- { "x": 0, "y": 0, "matrix": [0, 0] },
- { "x": 1, "y": 0, "matrix": [0, 1] },
- { "x": 2, "y": 0, "matrix": [0, 2] },
- { "x": 3, "y": 0, "matrix": [0, 3] },
- { "x": 4, "y": 0, "matrix": [0, 4] },
- { "x": 5, "y": 0, "matrix": [0, 5] },
- { "x": 6, "y": 0, "matrix": [0, 6] },
- { "x": 7, "y": 0, "matrix": [0, 7] },
- { "x": 8, "y": 0, "matrix": [0, 8] },
- { "x": 9, "y": 0, "matrix": [0, 9] },
- { "x": 10, "y": 0, "matrix": [0, 10] },
- { "x": 11, "y": 0, "matrix": [0, 11] }
+ {"x": 0, "y": 0, "matrix": [0, 0]},
+ {"x": 1, "y": 0, "matrix": [0, 1]},
+ {"x": 2, "y": 0, "matrix": [0, 2]},
+ {"x": 3, "y": 0, "matrix": [0, 3]},
+ {"x": 4, "y": 0, "matrix": [0, 4]},
+ {"x": 5, "y": 0, "matrix": [0, 5]},
+ {"x": 6, "y": 0, "matrix": [0, 6]},
+ {"x": 7, "y": 0, "matrix": [0, 7]},
+ {"x": 8, "y": 0, "matrix": [0, 8]},
+ {"x": 9, "y": 0, "matrix": [0, 9]},
+ {"x": 10, "y": 0, "matrix": [0, 10]},
+ {"x": 11, "y": 0, "matrix": [0, 11]}
]
}
}
diff --git a/keyboards/keebio/stick/rules.mk b/keyboards/keebio/stick/rules.mk
index d5f501196c..0f932779f5 100644
--- a/keyboards/keebio/stick/rules.mk
+++ b/keyboards/keebio/stick/rules.mk
@@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812