summaryrefslogtreecommitdiff
path: root/keyboards/idobao
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/idobao
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/idobao')
-rw-r--r--keyboards/idobao/id80/v2/config.h3
-rw-r--r--keyboards/idobao/id80/v2/info.json4
-rw-r--r--keyboards/idobao/id87/v1/config.h2
-rw-r--r--keyboards/idobao/id87/v1/info.json3
-rw-r--r--keyboards/idobao/id96/config.h4
-rw-r--r--keyboards/idobao/id96/info.json5
6 files changed, 12 insertions, 9 deletions
diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h
index edb3fc8a3f..3306dd3097 100644
--- a/keyboards/idobao/id80/v2/config.h
+++ b/keyboards/idobao/id80/v2/config.h
@@ -58,9 +58,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 3
#endif
-#define LED_CAPS_LOCK_PIN C7
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */
diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json
index 770242c95d..0fd9def9de 100644
--- a/keyboards/idobao/id80/v2/info.json
+++ b/keyboards/idobao/id80/v2/info.json
@@ -6,6 +6,10 @@
"vid": "0x6964",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C7",
+ "on_state": 0
+ },
"bootmagic": {
"matrix": [0, 5]
},
diff --git a/keyboards/idobao/id87/v1/config.h b/keyboards/idobao/id87/v1/config.h
index 4684551dd9..eefdc2dbcc 100644
--- a/keyboards/idobao/id87/v1/config.h
+++ b/keyboards/idobao/id87/v1/config.h
@@ -42,8 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 3
#endif
-#define LED_CAPS_LOCK_PIN C7
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_ALTERNATING
diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/info.json
index eeba492e84..6d96abf860 100644
--- a/keyboards/idobao/id87/v1/info.json
+++ b/keyboards/idobao/id87/v1/info.json
@@ -8,6 +8,9 @@
"pid": "0x0087",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi"],
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h
index 3d0baa4676..e9be8711e1 100644
--- a/keyboards/idobao/id96/config.h
+++ b/keyboards/idobao/id96/config.h
@@ -30,10 +30,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define LED_NUM_LOCK_PIN C6
-#define LED_CAPS_LOCK_PIN C7
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 7
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json
index e2bc4ea581..2e09232dae 100644
--- a/keyboards/idobao/id96/info.json
+++ b/keyboards/idobao/id96/info.json
@@ -8,6 +8,11 @@
"pid": "0x0096",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C7",
+ "num_lock": "C6",
+ "on_state": 0
+ },
"bootmagic": {
"matrix": [5, 0]
},