summaryrefslogtreecommitdiff
path: root/keyboards/unikorn
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/unikorn
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/unikorn')
-rw-r--r--keyboards/unikorn/config.h2
-rw-r--r--keyboards/unikorn/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h
index ffaeb054a0..51bd8ad28f 100644
--- a/keyboards/unikorn/config.h
+++ b/keyboards/unikorn/config.h
@@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN D1
-
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/info.json
index 732b9380c8..8a6b47624b 100644
--- a/keyboards/unikorn/info.json
+++ b/keyboards/unikorn/info.json
@@ -8,6 +8,9 @@
"pid": "0x556B",
"device_version": "2.0.0"
},
+ "indicators": {
+ "caps_lock": "D1"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {