diff options
author | Joel Challis <git@zvecr.com> | 2024-01-10 09:55:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 09:55:09 +0000 |
commit | 41948350e866b8881a82a384342686942fc92865 (patch) | |
tree | ed7377a2b269ec6c846a01249601e43ce679533c /keyboards/phentech/rpk_001 | |
parent | 833abef115c8715a2bb56a871a557cc6e80ff48c (diff) |
Migrate RGB Matrix config to info.json - NOPQ (#22866)
Diffstat (limited to 'keyboards/phentech/rpk_001')
-rw-r--r-- | keyboards/phentech/rpk_001/config.h | 7 | ||||
-rw-r--r-- | keyboards/phentech/rpk_001/info.json | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/phentech/rpk_001/config.h b/keyboards/phentech/rpk_001/config.h index 097edc2bf7..45229ec27b 100644 --- a/keyboards/phentech/rpk_001/config.h +++ b/keyboards/phentech/rpk_001/config.h @@ -6,7 +6,6 @@ /* RGB Config */ #define AW20216S_CS_PIN_1 B6 #define AW20216S_EN_PIN_1 B7 -#define RGB_MATRIX_LED_COUNT 67 /* SPI Config */ #define SPI_DRIVER SPIDQ @@ -16,9 +15,3 @@ /* SPI Flash */ #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12 - -/* RGB Matrix */ -#define RGB_MATRIX_SLEEP -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_KEYRELEASES diff --git a/keyboards/phentech/rpk_001/info.json b/keyboards/phentech/rpk_001/info.json index fee1f53806..c004dad281 100644 --- a/keyboards/phentech/rpk_001/info.json +++ b/keyboards/phentech/rpk_001/info.json @@ -161,7 +161,9 @@ { "flags": 1, "matrix": [4, 11], "x": 192, "y": 64}, { "flags": 1, "matrix": [4, 13], "x": 208, "y": 64}, { "flags": 1, "matrix": [4, 14], "x": 224, "y": 64} - ] + ], + "react_on_keyup": true, + "sleep": true }, "layouts": { "LAYOUT": { |