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/percent | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/percent')
-rw-r--r-- | keyboards/percent/canoe/config.h | 2 | ||||
-rw-r--r-- | keyboards/percent/canoe/info.json | 3 | ||||
-rw-r--r-- | keyboards/percent/skog/config.h | 3 | ||||
-rw-r--r-- | keyboards/percent/skog/info.json | 4 | ||||
-rw-r--r-- | keyboards/percent/skog_lite/config.h | 3 | ||||
-rw-r--r-- | keyboards/percent/skog_lite/info.json | 4 |
6 files changed, 11 insertions, 8 deletions
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index b91921ebcb..9fc0fd0014 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h @@ -28,8 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN D1 - #define BACKLIGHT_PIN D4 #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json index 0c0af65e8c..18d57bce99 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/info.json @@ -8,6 +8,9 @@ "pid": "0x434E", "device_version": "2.0.0" }, + "indicators": { + "caps_lock": "D1" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["65_ansi_blocker", "65_iso_blocker"], diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index b8abcab227..629e04b94e 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2 } #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN D1 -#define LED_SCROLL_LOCK_PIN D6 - #define RGBLED_NUM 2 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json index 39a36d4042..5d461b67a4 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/info.json @@ -8,6 +8,10 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "indicators": { + "caps_lock": "D1", + "scroll_lock": "D6" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layouts": { diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index 7e74ab9fcc..74217b74e5 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN D1 -#define LED_SCROLL_LOCK_PIN D6 - #define BACKLIGHT_PIN D4 #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json index f405a83974..8b126296e6 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/info.json @@ -8,6 +8,10 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "indicators": { + "caps_lock": "D1", + "scroll_lock": "D6" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["tkl_ansi"], |