summaryrefslogtreecommitdiff
path: root/keyboards/4pplet/eagle_viper_rep
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/4pplet/eagle_viper_rep
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/4pplet/eagle_viper_rep')
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/config.h1
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/info.json1
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_b/config.h1
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_b/info.json3
4 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h
index 76bc9a6b4f..6114950220 100644
--- a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h
@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
/* Underglow */
-#define RGB_DI_PIN A7
#define WS2812_SPI SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PIN A5
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json
index 1507956995..8fba2ee69b 100644
--- a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json
@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
+ "pin": "A7",
"driver": "spi"
},
"processor": "STM32F072",
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h
index 6ecc98da2d..7c8c8a8cf2 100644
--- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h
+++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow */
#define RGBLED_NUM 16
#define WS2812_EXTERNAL_PULLUP
-#define RGB_DI_PIN A8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json
index b815c9bf4f..c0f9ef3126 100644
--- a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json
+++ b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json
@@ -23,6 +23,9 @@
"num_lock": "B12",
"scroll_lock": "B13"
},
+ "ws2812": {
+ "pin": "A8"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {