diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/kmac | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/kmac')
-rw-r--r-- | keyboards/kmac/config.h | 4 | ||||
-rw-r--r-- | keyboards/kmac/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/kmac/config.h b/keyboards/kmac/config.h index 5db54daf43..bc647193ca 100644 --- a/keyboards/kmac/config.h +++ b/keyboards/kmac/config.h @@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW, ROW2COL*/ //#define DIODE_DIRECTION -#define LED_CAPS_LOCK_PIN B0 -#define LED_SCROLL_LOCK_PIN E6 -#define LED_PIN_ON_STATE 0 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/kmac/info.json b/keyboards/kmac/info.json index b8e5497e28..e22708713a 100644 --- a/keyboards/kmac/info.json +++ b/keyboards/kmac/info.json @@ -7,6 +7,11 @@ "pid": "0x4143", "device_version": "1.0.4" }, + "indicators": { + "caps_lock": "B0", + "scroll_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["tkl_ansi"], |