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 | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/pearlboards')
-rw-r--r-- | keyboards/pearlboards/atlas/config.h | 5 | ||||
-rw-r--r-- | keyboards/pearlboards/atlas/info.json | 6 | ||||
-rw-r--r-- | keyboards/pearlboards/pandora/config.h | 3 | ||||
-rw-r--r-- | keyboards/pearlboards/pandora/info.json | 4 | ||||
-rw-r--r-- | keyboards/pearlboards/pearl/config.h | 5 | ||||
-rw-r--r-- | keyboards/pearlboards/pearl/info.json | 6 | ||||
-rw-r--r-- | keyboards/pearlboards/zeus/config.h | 5 | ||||
-rw-r--r-- | keyboards/pearlboards/zeus/info.json | 6 |
8 files changed, 22 insertions, 18 deletions
diff --git a/keyboards/pearlboards/atlas/config.h b/keyboards/pearlboards/atlas/config.h index 5a5c2b5fdf..0414097f31 100644 --- a/keyboards/pearlboards/atlas/config.h +++ b/keyboards/pearlboards/atlas/config.h @@ -76,11 +76,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 F4 -#define LED_NUM_LOCK_PIN F5 -#define LED_SCROLL_LOCK_PIN F6 -#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/atlas/info.json b/keyboards/pearlboards/atlas/info.json index 9c28399c90..31cf97aa4e 100644 --- a/keyboards/pearlboards/atlas/info.json +++ b/keyboards/pearlboards/atlas/info.json @@ -8,6 +8,12 @@ "pid": "0x6964", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F4", + "num_lock": "F5", + "scroll_lock": "F6", + "on_state": 0 + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h index abb3f1d27e..e13df1e11d 100644 --- a/keyboards/pearlboards/pandora/config.h +++ b/keyboards/pearlboards/pandora/config.h @@ -65,9 +65,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 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 diff --git a/keyboards/pearlboards/pandora/info.json b/keyboards/pearlboards/pandora/info.json index 39ec8d1089..592fecff65 100644 --- a/keyboards/pearlboards/pandora/info.json +++ b/keyboards/pearlboards/pandora/info.json @@ -8,6 +8,10 @@ "pid": "0x6963", "device_version": "0.0.2" }, + "indicators": { + "caps_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { 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, diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h index b191a09ff3..09930b8492 100644 --- a/keyboards/pearlboards/zeus/config.h +++ b/keyboards/pearlboards/zeus/config.h @@ -80,11 +80,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 C5 -#define LED_NUM_LOCK_PIN C4 -#define LED_SCROLL_LOCK_PIN C3 -#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/zeus/info.json b/keyboards/pearlboards/zeus/info.json index e589b534fb..c5b1fb640c 100644 --- a/keyboards/pearlboards/zeus/info.json +++ b/keyboards/pearlboards/zeus/info.json @@ -8,6 +8,12 @@ "pid": "0x6966", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C5", + "num_lock": "C4", + "scroll_lock": "C3", + "on_state": 0 + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { |