summaryrefslogtreecommitdiff
path: root/keyboards/handwired/sono1/stm32f103
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/handwired/sono1/stm32f103
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/handwired/sono1/stm32f103')
-rw-r--r--keyboards/handwired/sono1/stm32f103/config.h6
-rw-r--r--keyboards/handwired/sono1/stm32f103/info.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/handwired/sono1/stm32f103/config.h b/keyboards/handwired/sono1/stm32f103/config.h
index ec0ddfbe05..b961eaffd6 100644
--- a/keyboards/handwired/sono1/stm32f103/config.h
+++ b/keyboards/handwired/sono1/stm32f103/config.h
@@ -21,11 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 }
#define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 }
-
-#define LED_KANA_PIN A2
-#define LED_CAPS_LOCK_PIN B5
#define LED_CTRL_XFER_PIN B6
-#define LED_NUM_LOCK_PIN B4
#define LED_KB_LOCK_PIN B12
-#define LED_PIN_ON_STATE 0
-
diff --git a/keyboards/handwired/sono1/stm32f103/info.json b/keyboards/handwired/sono1/stm32f103/info.json
index 241cf5e9a2..b25392382a 100644
--- a/keyboards/handwired/sono1/stm32f103/info.json
+++ b/keyboards/handwired/sono1/stm32f103/info.json
@@ -2,6 +2,12 @@
"usb": {
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B5",
+ "num_lock": "B4",
+ "kana": "A2",
+ "on_state": 0
+ },
"processor": "STM32F103",
"bootloader": "stm32duino"
}