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/adpenrose | |
| parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) | |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/adpenrose')
| -rw-r--r-- | keyboards/adpenrose/akemipad/config.h | 2 | ||||
| -rw-r--r-- | keyboards/adpenrose/akemipad/info.json | 3 | ||||
| -rw-r--r-- | keyboards/adpenrose/kintsugi/config.h | 1 | ||||
| -rw-r--r-- | keyboards/adpenrose/kintsugi/info.json | 3 | ||||
| -rw-r--r-- | keyboards/adpenrose/obi/config.h | 1 | ||||
| -rw-r--r-- | keyboards/adpenrose/obi/info.json | 3 |
6 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/adpenrose/akemipad/config.h b/keyboards/adpenrose/akemipad/config.h index 9743566d12..5756903c66 100644 --- a/keyboards/adpenrose/akemipad/config.h +++ b/keyboards/adpenrose/akemipad/config.h | |||
| @@ -11,8 +11,6 @@ | |||
| 11 | #define AUDIO_ENABLE_TONE_MULTIPLEXING | 11 | #define AUDIO_ENABLE_TONE_MULTIPLEXING |
| 12 | #define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10 | 12 | #define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10 |
| 13 | 13 | ||
| 14 | // The pin connected to the data pin of the LEDs | ||
| 15 | #define RGB_DI_PIN F4 | ||
| 16 | // The number of LEDs connected | 14 | // The number of LEDs connected |
| 17 | #define RGB_MATRIX_LED_COUNT 27 | 15 | #define RGB_MATRIX_LED_COUNT 27 |
| 18 | #define RGB_MATRIX_CENTER { 60, 77 } | 16 | #define RGB_MATRIX_CENTER { 60, 77 } |
diff --git a/keyboards/adpenrose/akemipad/info.json b/keyboards/adpenrose/akemipad/info.json index 80085f949e..50a0498f0e 100644 --- a/keyboards/adpenrose/akemipad/info.json +++ b/keyboards/adpenrose/akemipad/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0004", | 7 | "pid": "0x0004", |
| 8 | "vid": "0x4450" | 8 | "vid": "0x4450" |
| 9 | }, | 9 | }, |
| 10 | "ws2812": { | ||
| 11 | "pin": "F4" | ||
| 12 | }, | ||
| 10 | "matrix_pins": { | 13 | "matrix_pins": { |
| 11 | "cols": ["D3", "D2", "F5", "F6", "B2"], | 14 | "cols": ["D3", "D2", "F5", "F6", "B2"], |
| 12 | "rows": ["D4", "D7", "E6", "B6", "B4", "B5"] | 15 | "rows": ["D4", "D7", "E6", "B6", "B4", "B5"] |
diff --git a/keyboards/adpenrose/kintsugi/config.h b/keyboards/adpenrose/kintsugi/config.h index 2895613932..9bfa7d996c 100644 --- a/keyboards/adpenrose/kintsugi/config.h +++ b/keyboards/adpenrose/kintsugi/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define TAP_CODE_DELAY 10 | 20 | #define TAP_CODE_DELAY 10 |
| 21 | 21 | ||
| 22 | /* Underglow options: */ | 22 | /* Underglow options: */ |
| 23 | #define RGB_DI_PIN F1 | ||
| 24 | # define RGBLED_NUM 16 | 23 | # define RGBLED_NUM 16 |
| 25 | # define RGBLIGHT_HUE_STEP 8 | 24 | # define RGBLIGHT_HUE_STEP 8 |
| 26 | # define RGBLIGHT_SAT_STEP 8 | 25 | # define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/adpenrose/kintsugi/info.json b/keyboards/adpenrose/kintsugi/info.json index efe7d069d0..1014362503 100644 --- a/keyboards/adpenrose/kintsugi/info.json +++ b/keyboards/adpenrose/kintsugi/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "ws2812": { | ||
| 12 | "pin": "F1" | ||
| 13 | }, | ||
| 11 | "matrix_pins": { | 14 | "matrix_pins": { |
| 12 | "cols": ["F6", "F7", "B1", "B3", "B2", "B6", "F0"], | 15 | "cols": ["F6", "F7", "B1", "B3", "B2", "B6", "F0"], |
| 13 | "rows": ["B0", "E6", "D7", "C6", "D4", "D2", "F4", "F5", "B5", "B4"] | 16 | "rows": ["B0", "E6", "D7", "C6", "D4", "D2", "F4", "F5", "B5", "B4"] |
diff --git a/keyboards/adpenrose/obi/config.h b/keyboards/adpenrose/obi/config.h index 2eb0a46c99..43002ba35c 100644 --- a/keyboards/adpenrose/obi/config.h +++ b/keyboards/adpenrose/obi/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | #define TAP_CODE_DELAY 10 | 6 | #define TAP_CODE_DELAY 10 |
| 7 | 7 | ||
| 8 | /* Underglow options: */ | 8 | /* Underglow options: */ |
| 9 | #define RGB_DI_PIN F7 | ||
| 10 | # define RGBLED_NUM 16 | 9 | # define RGBLED_NUM 16 |
| 11 | # define RGBLIGHT_HUE_STEP 8 | 10 | # define RGBLIGHT_HUE_STEP 8 |
| 12 | # define RGBLIGHT_SAT_STEP 8 | 11 | # define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/adpenrose/obi/info.json b/keyboards/adpenrose/obi/info.json index 6417bf57ca..c3e8d7b43b 100644 --- a/keyboards/adpenrose/obi/info.json +++ b/keyboards/adpenrose/obi/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0002", | 7 | "pid": "0x0002", |
| 8 | "vid": "0x4450" | 8 | "vid": "0x4450" |
| 9 | }, | 9 | }, |
| 10 | "ws2812": { | ||
| 11 | "pin": "F7" | ||
| 12 | }, | ||
| 10 | "matrix_pins": { | 13 | "matrix_pins": { |
| 11 | "cols": ["F6", "B7", "B6", "B4", "B5", "D6", "D5", "D3", "D7", "D4", "D2", "D1", "D0", "B0"], | 14 | "cols": ["F6", "B7", "B6", "B4", "B5", "D6", "D5", "D3", "D7", "D4", "D2", "D1", "D0", "B0"], |
| 12 | "rows": ["F4", "F5", "C7", "C6"] | 15 | "rows": ["F4", "F5", "C7", "C6"] |
