summaryrefslogtreecommitdiff
path: root/keyboards/clickety_split
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-04 06:00:47 +0000
committerGitHub <noreply@github.com>2024-01-04 06:00:47 +0000
commita5f1438f58d42a452aaeb2df4cc0b4e01b79608e (patch)
tree5b301b9d1c837ab0e852fcd6ec70c71bc1414f7c /keyboards/clickety_split
parentc412b7fc423892e16280435387a645fc6e3b2c8a (diff)
Migrate RGB Matrix config to info.json - C (#22807)
Diffstat (limited to 'keyboards/clickety_split')
-rw-r--r--keyboards/clickety_split/leeloo/rev2/config.h22
-rw-r--r--keyboards/clickety_split/leeloo/rev2/info.json6
-rw-r--r--keyboards/clickety_split/leeloo/rev3/config.h22
-rw-r--r--keyboards/clickety_split/leeloo/rev3/info.json6
4 files changed, 8 insertions, 48 deletions
diff --git a/keyboards/clickety_split/leeloo/rev2/config.h b/keyboards/clickety_split/leeloo/rev2/config.h
deleted file mode 100644
index 8150511acd..0000000000
--- a/keyboards/clickety_split/leeloo/rev2/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2023 Clickety Split Ltd.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-# define RGB_MATRIX_LED_COUNT 74
-# define RGB_MATRIX_SPLIT {37, 37}
-# define RGB_MATRIX_SLEEP
-# define SPLIT_TRANSPORT_MIRROR
diff --git a/keyboards/clickety_split/leeloo/rev2/info.json b/keyboards/clickety_split/leeloo/rev2/info.json
index 6db77714a4..cab643aad8 100644
--- a/keyboards/clickety_split/leeloo/rev2/info.json
+++ b/keyboards/clickety_split/leeloo/rev2/info.json
@@ -99,6 +99,8 @@
{"flags": 4, "matrix": [6, 0], "x": 224, "y": 16}, // R LB72 | SW36
{"flags": 4, "matrix": [7, 0], "x": 224, "y": 32}, // R LB73 | SW42
{"flags": 4, "matrix": [8, 0], "x": 224, "y": 48} // R LB74 | SW48
- ]
+ ],
+ "split_count": [37, 37],
+ "sleep": true
}
- }
+}
diff --git a/keyboards/clickety_split/leeloo/rev3/config.h b/keyboards/clickety_split/leeloo/rev3/config.h
deleted file mode 100644
index a30477391b..0000000000
--- a/keyboards/clickety_split/leeloo/rev3/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2023 Clickety Split Ltd.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-# define RGB_MATRIX_LED_COUNT 58
-# define RGB_MATRIX_SPLIT {29, 29}
-# define RGB_MATRIX_SLEEP
-# define SPLIT_TRANSPORT_MIRROR
diff --git a/keyboards/clickety_split/leeloo/rev3/info.json b/keyboards/clickety_split/leeloo/rev3/info.json
index 2c92f5226e..d738fffe9e 100644
--- a/keyboards/clickety_split/leeloo/rev3/info.json
+++ b/keyboards/clickety_split/leeloo/rev3/info.json
@@ -83,6 +83,8 @@
{"flags": 4, "matrix": [6, 0], "x": 224, "y": 16}, // R LB56 | SW36
{"flags": 4, "matrix": [7, 0], "x": 224, "y": 32}, // R LB57 | SW42
{"flags": 4, "matrix": [8, 0], "x": 224, "y": 48} // R LB58 | SW48
- ]
+ ],
+ "split_count": [29, 29],
+ "sleep": true
}
- }
+}