From f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 13:14:29 +1100 Subject: Move LED indicator config to data driven (#19800) --- keyboards/xelus/pachi/mini_32u4/config.h | 3 --- keyboards/xelus/pachi/mini_32u4/info.json | 4 ++++ keyboards/xelus/pachi/rev1/config.h | 4 ---- keyboards/xelus/pachi/rev1/info.json | 4 ++++ keyboards/xelus/pachi/rgb/config.h | 16 ---------------- 5 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 keyboards/xelus/pachi/rgb/config.h (limited to 'keyboards/xelus/pachi') diff --git a/keyboards/xelus/pachi/mini_32u4/config.h b/keyboards/xelus/pachi/mini_32u4/config.h index 3f500b14c5..240c73994b 100644 --- a/keyboards/xelus/pachi/mini_32u4/config.h +++ b/keyboards/xelus/pachi/mini_32u4/config.h @@ -28,6 +28,3 @@ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define LED_CAPS_LOCK_PIN F1 -#define LED_SCROLL_LOCK_PIN B3 diff --git a/keyboards/xelus/pachi/mini_32u4/info.json b/keyboards/xelus/pachi/mini_32u4/info.json index bb3b24b123..b400fdd7a4 100644 --- a/keyboards/xelus/pachi/mini_32u4/info.json +++ b/keyboards/xelus/pachi/mini_32u4/info.json @@ -8,6 +8,10 @@ "pid": "0x5041", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F1", + "scroll_lock": "B3" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/xelus/pachi/rev1/config.h b/keyboards/xelus/pachi/rev1/config.h index a76ba6244f..1ffac9665e 100644 --- a/keyboards/xelus/pachi/rev1/config.h +++ b/keyboards/xelus/pachi/rev1/config.h @@ -28,7 +28,3 @@ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define LED_CAPS_LOCK_PIN B14 -#define LED_SCROLL_LOCK_PIN A13 -#define LED_PIN_ON_STATE 1 diff --git a/keyboards/xelus/pachi/rev1/info.json b/keyboards/xelus/pachi/rev1/info.json index d5b965a97e..44690cd7b5 100644 --- a/keyboards/xelus/pachi/rev1/info.json +++ b/keyboards/xelus/pachi/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x5041", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B14", + "scroll_lock": "A13" + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/xelus/pachi/rgb/config.h b/keyboards/xelus/pachi/rgb/config.h deleted file mode 100644 index 33dcbf8a0d..0000000000 --- a/keyboards/xelus/pachi/rgb/config.h +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 Harrison Chan (Xelus) - * - * 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 . - */ - -- cgit v1.2.3