summaryrefslogtreecommitdiffstats
path: root/keyboards/ogre
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-06 11:08:04 +1000
committerGitHub <noreply@github.com>2023-06-06 11:08:04 +1000
commitc9cf9712aaefc2356305cbc731d06f1b1948d8c1 (patch)
treef5a65b4859b44144b1d9b756f8a7f3bb39191198 /keyboards/ogre
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/ogre')
-rw-r--r--keyboards/ogre/ergo_split/config.h1
-rw-r--r--keyboards/ogre/ergo_split/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/ogre/ergo_split/config.h b/keyboards/ogre/ergo_split/config.h
index 92535947de..20bff507de 100644
--- a/keyboards/ogre/ergo_split/config.h
+++ b/keyboards/ogre/ergo_split/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_HAND_PIN D1
-#define RGBLED_SPLIT { 7, 7 }
#define RGBLED_NUM 14
#define RGBLIGHT_LED_MAP { 6, 5, 4, 3, 2, 1, 0, 13, 12,11, 10, 9, 8, 7}
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/ogre/ergo_split/info.json b/keyboards/ogre/ergo_split/info.json
index 2a1bbbdcd6..1055724b5f 100644
--- a/keyboards/ogre/ergo_split/info.json
+++ b/keyboards/ogre/ergo_split/info.json
@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D3"
},
+ "rgblight": {
+ "split_count": [7, 7]
+ },
"ws2812": {
"pin": "B6"
},