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/pearlboards/pearl | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/pearlboards/pearl')
-rw-r--r-- | keyboards/pearlboards/pearl/config.h | 5 | ||||
-rw-r--r-- | keyboards/pearlboards/pearl/info.json | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/pearlboards/pearl/config.h b/keyboards/pearlboards/pearl/config.h index dc79825104..7b10ff7fab 100644 --- a/keyboards/pearlboards/pearl/config.h +++ b/keyboards/pearlboards/pearl/config.h @@ -71,11 +71,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define RGBLIGHT_SLEEP #endif -/* Indicator Led's*/ -#define LED_CAPS_LOCK_PIN B0 -#define LED_NUM_LOCK_PIN B1 -#define LED_SCROLL_LOCK_PIN B2 -#define LED_PIN_ON_STATE 0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/pearl/info.json b/keyboards/pearlboards/pearl/info.json index b7d6d2a591..f6082c1d37 100644 --- a/keyboards/pearlboards/pearl/info.json +++ b/keyboards/pearlboards/pearl/info.json @@ -8,6 +8,12 @@ "pid": "0x6965", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B0", + "num_lock": "B1", + "scroll_lock": "B2", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 4, |