summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id96
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/idobao/id96')
-rw-r--r--keyboards/idobao/id96/config.h23
-rw-r--r--keyboards/idobao/id96/info.json15
-rw-r--r--keyboards/idobao/id96/rules.mk6
3 files changed, 15 insertions, 29 deletions
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h
index 444464019b..7f48dc7752 100644
--- a/keyboards/idobao/id96/config.h
+++ b/keyboards/idobao/id96/config.h
@@ -18,11 +18,6 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 12
-#define MATRIX_COLS 9
/* key matrix pins */
#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
@@ -31,24 +26,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
-
-/* number of backlight levels */
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
- #define BACKLIGHT_LEVELS 7
- #define BACKLIGHT_BREATHING
-#endif
-
-/* Set location for BootMagic key = [ESC] */
-#define BOOTMAGIC_LITE_ROW 5
-#define BOOTMAGIC_LITE_COLUMN 0
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json
index 0732bce154..2046283d8e 100644
--- a/keyboards/idobao/id96/info.json
+++ b/keyboards/idobao/id96/info.json
@@ -8,6 +8,21 @@
"pid": "0x0096",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7,
+ "breathing": true
+ },
+ "indicators": {
+ "caps_lock": "C7",
+ "num_lock": "C6",
+ "on_state": 0
+ },
+ "bootmagic": {
+ "matrix": [5, 0]
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/idobao/id96/rules.mk b/keyboards/idobao/id96/rules.mk
index b27013f863..3d5cb57ad5 100644
--- a/keyboards/idobao/id96/rules.mk
+++ b/keyboards/idobao/id96/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#