diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/jian | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/jian')
-rw-r--r-- | keyboards/jian/nsrev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/jian/nsrev2/info.json | 3 | ||||
-rw-r--r-- | keyboards/jian/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/jian/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/jian/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/jian/rev2/info.json | 3 |
6 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index 5eda1a6724..5bd79d3ce0 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define PHYSICAL_LEDS_ENABLE /* ws2812 RGB LED */ -#define RGB_DI_PIN D4 #define RGBLIGHT_TIMER #define RGBLED_NUM 7 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json index e7ec688b88..955fc517de 100644 --- a/keyboards/jian/nsrev2/info.json +++ b/keyboards/jian/nsrev2/info.json @@ -13,6 +13,9 @@ "levels": 5, "breathing": true }, + "ws2812": { + "pin": "D4" + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "D3" diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index a00830b7f7..11b99cc739 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h @@ -72,7 +72,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif // SCROLL_NMOSFET /* ws2812 RGB LED */ -#define RGB_DI_PIN D4 #define RGBLIGHT_TIMER #define RGBLED_NUM 7 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json index 0f1efc95b3..af1ae29d0d 100644 --- a/keyboards/jian/rev1/info.json +++ b/keyboards/jian/rev1/info.json @@ -12,6 +12,9 @@ "pin": "B6", "levels": 5 }, + "ws2812": { + "pin": "D4" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 92b15fab65..147c2cf147 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define IOS_DEVICE_ENABLE /* ws2812 RGB LED */ -#define RGB_DI_PIN D4 #define RGBLIGHT_TIMER #define RGBLED_NUM 7 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index 3f04339046..7fecaed1f0 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json @@ -12,6 +12,9 @@ "pin": "C6", "levels": 5 }, + "ws2812": { + "pin": "D4" + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "D3" |