summaryrefslogtreecommitdiff
path: root/keyboards/spaceholdings
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/spaceholdings
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/spaceholdings')
-rwxr-xr-xkeyboards/spaceholdings/nebula12/config.h1
-rwxr-xr-xkeyboards/spaceholdings/nebula12/info.json1
-rwxr-xr-xkeyboards/spaceholdings/nebula12b/config.h1
-rwxr-xr-xkeyboards/spaceholdings/nebula12b/info.json3
-rwxr-xr-xkeyboards/spaceholdings/nebula68/config.h1
-rwxr-xr-xkeyboards/spaceholdings/nebula68/info.json1
-rwxr-xr-xkeyboards/spaceholdings/nebula68b/config.h1
-rwxr-xr-xkeyboards/spaceholdings/nebula68b/info.json3
8 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/spaceholdings/nebula12/config.h b/keyboards/spaceholdings/nebula12/config.h
index 36ed0fa73a..bfebbd8f5e 100755
--- a/keyboards/spaceholdings/nebula12/config.h
+++ b/keyboards/spaceholdings/nebula12/config.h
@@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13
-#define RGB_DI_PIN B15
#define RGBLED_NUM 10 /* If number is smaller, buffer updates too fast causing glitches */
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/spaceholdings/nebula12/info.json b/keyboards/spaceholdings/nebula12/info.json
index 6af24d1dd9..aa5dbc1873 100755
--- a/keyboards/spaceholdings/nebula12/info.json
+++ b/keyboards/spaceholdings/nebula12/info.json
@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
+ "pin": "B15",
"driver": "spi"
},
"matrix_pins": {
diff --git a/keyboards/spaceholdings/nebula12b/config.h b/keyboards/spaceholdings/nebula12b/config.h
index 0928d190df..aba496d469 100755
--- a/keyboards/spaceholdings/nebula12b/config.h
+++ b/keyboards/spaceholdings/nebula12b/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB options */
-#define RGB_DI_PIN D5
#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
#define RGB_DISABLE_WHEN_USB_SUSPENDED
diff --git a/keyboards/spaceholdings/nebula12b/info.json b/keyboards/spaceholdings/nebula12b/info.json
index 8d5af9da50..5cf82edf92 100755
--- a/keyboards/spaceholdings/nebula12b/info.json
+++ b/keyboards/spaceholdings/nebula12b/info.json
@@ -8,6 +8,9 @@
"pid": "0x5332",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "D5"
+ },
"matrix_pins": {
"cols": ["F4", "F5", "D7"],
"rows": ["B7", "B4", "F7", "F6"]
diff --git a/keyboards/spaceholdings/nebula68/config.h b/keyboards/spaceholdings/nebula68/config.h
index eaefff82df..fa9000b282 100755
--- a/keyboards/spaceholdings/nebula68/config.h
+++ b/keyboards/spaceholdings/nebula68/config.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
-#define RGB_DI_PIN A7
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/spaceholdings/nebula68/info.json b/keyboards/spaceholdings/nebula68/info.json
index ccd2c4b4e2..21675a37c9 100755
--- a/keyboards/spaceholdings/nebula68/info.json
+++ b/keyboards/spaceholdings/nebula68/info.json
@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
+ "pin": "A7",
"driver": "pwm"
},
"matrix_pins": {
diff --git a/keyboards/spaceholdings/nebula68b/config.h b/keyboards/spaceholdings/nebula68b/config.h
index 08ce4cb92d..4da2b5894a 100755
--- a/keyboards/spaceholdings/nebula68b/config.h
+++ b/keyboards/spaceholdings/nebula68b/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB options */
-#define RGB_DI_PIN B7
#define RGB_MATRIX_LED_COUNT 79
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130
#define RGB_DISABLE_WHEN_USB_SUSPENDED
diff --git a/keyboards/spaceholdings/nebula68b/info.json b/keyboards/spaceholdings/nebula68b/info.json
index ca74035946..d3918f5f3b 100755
--- a/keyboards/spaceholdings/nebula68b/info.json
+++ b/keyboards/spaceholdings/nebula68b/info.json
@@ -8,6 +8,9 @@
"pid": "0x5338",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B7"
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["D4", "D6", "D7", "B4", "E6"]