summaryrefslogtreecommitdiff
path: root/keyboards/doro67
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/doro67
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/doro67')
-rw-r--r--keyboards/doro67/multi/config.h3
-rw-r--r--keyboards/doro67/multi/info.json4
-rw-r--r--keyboards/doro67/regular/config.h3
-rw-r--r--keyboards/doro67/regular/info.json4
-rw-r--r--keyboards/doro67/rgb/config.h3
-rw-r--r--keyboards/doro67/rgb/info.json4
6 files changed, 12 insertions, 9 deletions
diff --git a/keyboards/doro67/multi/config.h b/keyboards/doro67/multi/config.h
index 95ca0f4566..4205a8329b 100644
--- a/keyboards/doro67/multi/config.h
+++ b/keyboards/doro67/multi/config.h
@@ -20,8 +20,5 @@
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 7
diff --git a/keyboards/doro67/multi/info.json b/keyboards/doro67/multi/info.json
index 0f784cc7d6..12fb141666 100644
--- a/keyboards/doro67/multi/info.json
+++ b/keyboards/doro67/multi/info.json
@@ -8,6 +8,10 @@
"pid": "0x4D4C",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],
diff --git a/keyboards/doro67/regular/config.h b/keyboards/doro67/regular/config.h
index bd61c718ec..e3b127918a 100644
--- a/keyboards/doro67/regular/config.h
+++ b/keyboards/doro67/regular/config.h
@@ -19,6 +19,3 @@
#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
#define DIODE_DIRECTION COL2ROW
-
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
diff --git a/keyboards/doro67/regular/info.json b/keyboards/doro67/regular/info.json
index 32b197f942..096e8e30e7 100644
--- a/keyboards/doro67/regular/info.json
+++ b/keyboards/doro67/regular/info.json
@@ -7,6 +7,10 @@
"pid": "0x5245",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],
diff --git a/keyboards/doro67/rgb/config.h b/keyboards/doro67/rgb/config.h
index 05a71a86a9..284761793e 100644
--- a/keyboards/doro67/rgb/config.h
+++ b/keyboards/doro67/rgb/config.h
@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
-
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN B7
// The number of LEDs connected
diff --git a/keyboards/doro67/rgb/info.json b/keyboards/doro67/rgb/info.json
index 3141873c2a..cf46ac8739 100644
--- a/keyboards/doro67/rgb/info.json
+++ b/keyboards/doro67/rgb/info.json
@@ -8,6 +8,10 @@
"pid": "0x5247",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],