diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 16:40:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 16:40:49 +1100 |
commit | 8f6c228adbfec98828f0411f62bab07f96e5c020 (patch) | |
tree | e3e7c485942dd7a089b34bfb17be8ef644829f12 /keyboards/omkbd/runner3680 | |
parent | 2da0827d4ffbcba161126d6001f370e97d0172a8 (diff) |
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/omkbd/runner3680')
21 files changed, 30 insertions, 12 deletions
diff --git a/keyboards/omkbd/runner3680/3x6/config.h b/keyboards/omkbd/runner3680/3x6/config.h index 78a4f59976..094caf7e7c 100644 --- a/keyboards/omkbd/runner3680/3x6/config.h +++ b/keyboards/omkbd/runner3680/3x6/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 18, 18 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/3x6/info.json b/keyboards/omkbd/runner3680/3x6/info.json index 404fda2b92..966b9018c6 100644 --- a/keyboards/omkbd/runner3680/3x6/info.json +++ b/keyboards/omkbd/runner3680/3x6/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/3x7/config.h b/keyboards/omkbd/runner3680/3x7/config.h index 067016bfe5..45b8ea2c5e 100644 --- a/keyboards/omkbd/runner3680/3x7/config.h +++ b/keyboards/omkbd/runner3680/3x7/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 21, 21 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/3x7/info.json b/keyboards/omkbd/runner3680/3x7/info.json index f19b5a2a1e..8e3e715c67 100644 --- a/keyboards/omkbd/runner3680/3x7/info.json +++ b/keyboards/omkbd/runner3680/3x7/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/3x8/config.h b/keyboards/omkbd/runner3680/3x8/config.h index c4132a0812..3c2903c8d1 100644 --- a/keyboards/omkbd/runner3680/3x8/config.h +++ b/keyboards/omkbd/runner3680/3x8/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 24, 24 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/3x8/info.json b/keyboards/omkbd/runner3680/3x8/info.json index 8e7ddf00ff..1954b6daec 100644 --- a/keyboards/omkbd/runner3680/3x8/info.json +++ b/keyboards/omkbd/runner3680/3x8/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/4x6/config.h b/keyboards/omkbd/runner3680/4x6/config.h index f74ddec560..27c831a8c8 100644 --- a/keyboards/omkbd/runner3680/4x6/config.h +++ b/keyboards/omkbd/runner3680/4x6/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 24, 24 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/4x6/info.json b/keyboards/omkbd/runner3680/4x6/info.json index de912073ee..9e3afe60f3 100644 --- a/keyboards/omkbd/runner3680/4x6/info.json +++ b/keyboards/omkbd/runner3680/4x6/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/4x7/config.h b/keyboards/omkbd/runner3680/4x7/config.h index 7e2a3d1379..db7591bc1b 100644 --- a/keyboards/omkbd/runner3680/4x7/config.h +++ b/keyboards/omkbd/runner3680/4x7/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 28, 28 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/4x7/info.json b/keyboards/omkbd/runner3680/4x7/info.json index 2c587c38e6..1e543d9527 100644 --- a/keyboards/omkbd/runner3680/4x7/info.json +++ b/keyboards/omkbd/runner3680/4x7/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/4x8/config.h b/keyboards/omkbd/runner3680/4x8/config.h index b15cd7b26e..27ffd994bc 100644 --- a/keyboards/omkbd/runner3680/4x8/config.h +++ b/keyboards/omkbd/runner3680/4x8/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 32, 32 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/4x8/info.json b/keyboards/omkbd/runner3680/4x8/info.json index e955ea4178..3ddd4e5791 100644 --- a/keyboards/omkbd/runner3680/4x8/info.json +++ b/keyboards/omkbd/runner3680/4x8/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/5x6/config.h b/keyboards/omkbd/runner3680/5x6/config.h index 42f0058892..71d98be2c8 100644 --- a/keyboards/omkbd/runner3680/5x6/config.h +++ b/keyboards/omkbd/runner3680/5x6/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 30, 30 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/5x6/info.json b/keyboards/omkbd/runner3680/5x6/info.json index 58c399e07b..be646896fb 100644 --- a/keyboards/omkbd/runner3680/5x6/info.json +++ b/keyboards/omkbd/runner3680/5x6/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/5x6_5x8/config.h b/keyboards/omkbd/runner3680/5x6_5x8/config.h index c810865579..30ef01e8cd 100644 --- a/keyboards/omkbd/runner3680/5x6_5x8/config.h +++ b/keyboards/omkbd/runner3680/5x6_5x8/config.h @@ -54,7 +54,6 @@ #define RGB_MATRIX_SPLIT { 30, 40 } // Number of LEDs #endif -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/5x6_5x8/info.json b/keyboards/omkbd/runner3680/5x6_5x8/info.json index eebbfe11fb..1e8bd452f3 100644 --- a/keyboards/omkbd/runner3680/5x6_5x8/info.json +++ b/keyboards/omkbd/runner3680/5x6_5x8/info.json @@ -8,6 +8,9 @@ "pid": "0x5658", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/5x7/config.h b/keyboards/omkbd/runner3680/5x7/config.h index d658ecdc14..839bb063a8 100644 --- a/keyboards/omkbd/runner3680/5x7/config.h +++ b/keyboards/omkbd/runner3680/5x7/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 35, 35 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/5x7/info.json b/keyboards/omkbd/runner3680/5x7/info.json index d103c8949a..8eaccb2643 100644 --- a/keyboards/omkbd/runner3680/5x7/info.json +++ b/keyboards/omkbd/runner3680/5x7/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/5x8/config.h b/keyboards/omkbd/runner3680/5x8/config.h index fc8d607bf2..3d7110b306 100644 --- a/keyboards/omkbd/runner3680/5x8/config.h +++ b/keyboards/omkbd/runner3680/5x8/config.h @@ -48,7 +48,6 @@ #define RGBLED_SPLIT { 40, 40 } // Number of LEDs #define RGBLIGHT_LIMIT_VAL 100 -#define SOFT_SERIAL_PIN D2 #define SELECT_SOFT_SERIAL_SPEED 1 /*Sets the protocol speed when using serial communication*/ //Speeds: diff --git a/keyboards/omkbd/runner3680/5x8/info.json b/keyboards/omkbd/runner3680/5x8/info.json index 4556ae7520..4ffa9576a5 100644 --- a/keyboards/omkbd/runner3680/5x8/info.json +++ b/keyboards/omkbd/runner3680/5x8/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.5" }, + "split": { + "soft_serial_pin": "D2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/omkbd/runner3680/config.h b/keyboards/omkbd/runner3680/config.h deleted file mode 100644 index 3f59c932d3..0000000000 --- a/keyboards/omkbd/runner3680/config.h +++ /dev/null @@ -1,2 +0,0 @@ -#pragma once - |