summaryrefslogtreecommitdiff
path: root/keyboards/noxary
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/noxary
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/noxary')
-rw-r--r--keyboards/noxary/260/config.h3
-rw-r--r--keyboards/noxary/260/info.json4
-rw-r--r--keyboards/noxary/268_2_rgb/config.h2
-rw-r--r--keyboards/noxary/268_2_rgb/info.json3
4 files changed, 7 insertions, 5 deletions
diff --git a/keyboards/noxary/260/config.h b/keyboards/noxary/260/config.h
index 8696d18708..45143df3fb 100644
--- a/keyboards/noxary/260/config.h
+++ b/keyboards/noxary/260/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 B1
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/noxary/260/info.json b/keyboards/noxary/260/info.json
index 08f4699b90..54328d3165 100644
--- a/keyboards/noxary/260/info.json
+++ b/keyboards/noxary/260/info.json
@@ -8,6 +8,10 @@
"pid": "0x0A29",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B1",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_tsangan_hhkb"],
diff --git a/keyboards/noxary/268_2_rgb/config.h b/keyboards/noxary/268_2_rgb/config.h
index a6d9cdc779..3baa32ac52 100644
--- a/keyboards/noxary/268_2_rgb/config.h
+++ b/keyboards/noxary/268_2_rgb/config.h
@@ -35,8 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B0
-
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/noxary/268_2_rgb/info.json b/keyboards/noxary/268_2_rgb/info.json
index 38fc324f55..7b52a82966 100644
--- a/keyboards/noxary/268_2_rgb/info.json
+++ b/keyboards/noxary/268_2_rgb/info.json
@@ -8,6 +8,9 @@
"pid": "0x0A7C",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {