diff options
author | Ryan <[email protected]> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/xelus/pachi | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) | |
download | qmk_firmware-f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b.tar.gz qmk_firmware-f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b.zip |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/xelus/pachi')
-rw-r--r-- | keyboards/xelus/pachi/mini_32u4/config.h | 3 | ||||
-rw-r--r-- | keyboards/xelus/pachi/mini_32u4/info.json | 4 | ||||
-rw-r--r-- | keyboards/xelus/pachi/rev1/config.h | 4 | ||||
-rw-r--r-- | keyboards/xelus/pachi/rev1/info.json | 4 | ||||
-rw-r--r-- | keyboards/xelus/pachi/rgb/config.h | 16 |
5 files changed, 8 insertions, 23 deletions
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 <http://www.gnu.org/licenses/>. - */ - |