diff options
Diffstat (limited to 'keyboards/1k')
-rw-r--r-- | keyboards/1k/config.h | 1 | ||||
-rw-r--r-- | keyboards/1k/info.json | 5 | ||||
-rw-r--r-- | keyboards/1k/keymaps/default/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/1k/keymaps/media/rules.mk | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/1k/config.h b/keyboards/1k/config.h index 1e970661c0..afdc6d4baa 100644 --- a/keyboards/1k/config.h +++ b/keyboards/1k/config.h @@ -16,7 +16,6 @@ #pragma once #define RGBLED_NUM 1 -#define RGB_DI_PIN B2 // Save as much space as we can... #define LAYER_STATE_8BIT diff --git a/keyboards/1k/info.json b/keyboards/1k/info.json index 5168b69081..090e93b94b 100644 --- a/keyboards/1k/info.json +++ b/keyboards/1k/info.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B2" + }, "matrix_pins": { "direct": [ ["B0"] @@ -16,7 +19,7 @@ "layouts": { "LAYOUT_ortho_1x1": { "layout": [ - {"x":0, "y":0, "matrix": [0, 0]} + {"x": 0, "y": 0, "matrix": [0, 0]} ] } } diff --git a/keyboards/1k/keymaps/default/rules.mk b/keyboards/1k/keymaps/default/rules.mk index ff480ff890..3f8ac1d4bb 100644 --- a/keyboards/1k/keymaps/default/rules.mk +++ b/keyboards/1k/keymaps/default/rules.mk @@ -1,2 +1,2 @@ -SRC += ws2812.c +WS2812_DRIVER_REQUIRED = yes SRC += color.c diff --git a/keyboards/1k/keymaps/media/rules.mk b/keyboards/1k/keymaps/media/rules.mk index 2368727640..76db8f131e 100644 --- a/keyboards/1k/keymaps/media/rules.mk +++ b/keyboards/1k/keymaps/media/rules.mk @@ -1,3 +1,3 @@ -SRC += ws2812.c +WS2812_DRIVER_REQUIRED = yes SRC += color.c EXTRAKEY_ENABLE = yes |