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/latincompass | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/latincompass')
-rw-r--r-- | keyboards/latincompass/latin17rgb/config.h | 1 | ||||
-rw-r--r-- | keyboards/latincompass/latin17rgb/info.json | 3 | ||||
-rw-r--r-- | keyboards/latincompass/latin47ble/config.h | 1 | ||||
-rw-r--r-- | keyboards/latincompass/latin47ble/info.json | 3 | ||||
-rw-r--r-- | keyboards/latincompass/latin64ble/config.h | 2 | ||||
-rw-r--r-- | keyboards/latincompass/latin64ble/info.json | 3 | ||||
-rw-r--r-- | keyboards/latincompass/latinpad/config.h | 1 | ||||
-rw-r--r-- | keyboards/latincompass/latinpad/info.json | 3 | ||||
-rw-r--r-- | keyboards/latincompass/latinpadble/config.h | 2 | ||||
-rw-r--r-- | keyboards/latincompass/latinpadble/info.json | 3 |
10 files changed, 15 insertions, 7 deletions
diff --git a/keyboards/latincompass/latin17rgb/config.h b/keyboards/latincompass/latin17rgb/config.h index ac78eb6330..8b64704638 100644 --- a/keyboards/latincompass/latin17rgb/config.h +++ b/keyboards/latincompass/latin17rgb/config.h @@ -85,7 +85,6 @@ # define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) #endif -#define RGB_DI_PIN B7 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/latincompass/latin17rgb/info.json b/keyboards/latincompass/latin17rgb/info.json index d4caabc507..91fb684f9b 100644 --- a/keyboards/latincompass/latin17rgb/info.json +++ b/keyboards/latincompass/latin17rgb/info.json @@ -8,6 +8,9 @@ "pid": "0x7C97", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B7" + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4"], "rows": ["C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/latincompass/latin47ble/config.h b/keyboards/latincompass/latin47ble/config.h index 13c9d76aa1..f702d60979 100644 --- a/keyboards/latincompass/latin47ble/config.h +++ b/keyboards/latincompass/latin47ble/config.h @@ -16,7 +16,6 @@ #pragma once -#define RGB_DI_PIN B7 #define RGBLED_NUM 3 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/latincompass/latin47ble/info.json b/keyboards/latincompass/latin47ble/info.json index a76e893f9b..d52f51352d 100644 --- a/keyboards/latincompass/latin47ble/info.json +++ b/keyboards/latincompass/latin47ble/info.json @@ -13,6 +13,9 @@ "rows": ["D0", "D1", "D2", "D3"] }, "diode_direction": "COL2ROW", + "ws2812": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["planck_mit"], diff --git a/keyboards/latincompass/latin64ble/config.h b/keyboards/latincompass/latin64ble/config.h index 3a4b3ef671..01a956c30c 100644 --- a/keyboards/latincompass/latin64ble/config.h +++ b/keyboards/latincompass/latin64ble/config.h @@ -15,8 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ #pragma once -#define RGB_DI_PIN B7 - #define RGBLED_NUM 2 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/latincompass/latin64ble/info.json b/keyboards/latincompass/latin64ble/info.json index 24a7581686..06e1345ea2 100644 --- a/keyboards/latincompass/latin64ble/info.json +++ b/keyboards/latincompass/latin64ble/info.json @@ -8,6 +8,9 @@ "pid": "0x6C71", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B7" + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6"], "rows": ["D0", "D1", "D2", "D3", "D6", "D7", "B5", "B6"] diff --git a/keyboards/latincompass/latinpad/config.h b/keyboards/latincompass/latinpad/config.h index 8059b4d070..d166baebc7 100644 --- a/keyboards/latincompass/latinpad/config.h +++ b/keyboards/latincompass/latinpad/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ #pragma once #define SSD1306OLED -#define RGB_DI_PIN D3 #define RGBLED_NUM 18 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/latincompass/latinpad/info.json b/keyboards/latincompass/latinpad/info.json index c5a844141b..6c5bfe720e 100644 --- a/keyboards/latincompass/latinpad/info.json +++ b/keyboards/latincompass/latinpad/info.json @@ -19,6 +19,9 @@ {"pin_a": "B5", "pin_b": "B6"} ] }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/latincompass/latinpadble/config.h b/keyboards/latincompass/latinpadble/config.h index b21508ce4d..56c80f7295 100644 --- a/keyboards/latincompass/latinpadble/config.h +++ b/keyboards/latincompass/latinpadble/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ // #define NO_ACTION_TAPPING // #define NO_ACTION_ONESHOT -#define RGB_DI_PIN B7 - #define RGBLED_NUM 4 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/latincompass/latinpadble/info.json b/keyboards/latincompass/latinpadble/info.json index bb0dee70ba..19b0604f80 100644 --- a/keyboards/latincompass/latinpadble/info.json +++ b/keyboards/latincompass/latinpadble/info.json @@ -18,6 +18,9 @@ {"pin_a": "C7", "pin_b": "F7"} ] }, + "ws2812": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { |