summaryrefslogtreecommitdiffstats
path: root/keyboards/idobao/id80
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/id80
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/idobao/id80')
-rw-r--r--keyboards/idobao/id80/v2/config.h3
-rw-r--r--keyboards/idobao/id80/v2/info.json4
2 files changed, 4 insertions, 3 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]
},