summaryrefslogtreecommitdiffstats
path: root/keyboards/percent
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/percent
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/percent')
-rw-r--r--keyboards/percent/booster/config.h1
-rw-r--r--keyboards/percent/booster/info.json3
-rw-r--r--keyboards/percent/canoe_gen2/config.h1
-rw-r--r--keyboards/percent/canoe_gen2/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h
index 2978c96efd..2cfff5c7bf 100644
--- a/keyboards/percent/booster/config.h
+++ b/keyboards/percent/booster/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN E2
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json
index 79b9cb8026..ba8be4a603 100644
--- a/keyboards/percent/booster/info.json
+++ b/keyboards/percent/booster/info.json
@@ -16,6 +16,9 @@
"backlight": {
"pin": "B7"
},
+ "ws2812": {
+ "pin": "E2"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x4"],
diff --git a/keyboards/percent/canoe_gen2/config.h b/keyboards/percent/canoe_gen2/config.h
index f5bfd30028..fe374cd794 100644
--- a/keyboards/percent/canoe_gen2/config.h
+++ b/keyboards/percent/canoe_gen2/config.h
@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight configuration
*/
-#define RGB_DI_PIN B7
#define RGB_MATRIX_LED_COUNT 77
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
diff --git a/keyboards/percent/canoe_gen2/info.json b/keyboards/percent/canoe_gen2/info.json
index 96d646c4a0..0f64915a2a 100644
--- a/keyboards/percent/canoe_gen2/info.json
+++ b/keyboards/percent/canoe_gen2/info.json
@@ -8,6 +8,9 @@
"pid": "0x89F0",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B7"
+ },
"matrix_pins": {
"cols": ["B0", "D0", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "F6", "F7"],
"rows": ["B1", "B3", "B2", "F5", "F4"]