summaryrefslogtreecommitdiffstats
path: root/keyboards/coarse/cordillera
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/coarse/cordillera
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/coarse/cordillera')
-rw-r--r--keyboards/coarse/cordillera/config.h5
-rw-r--r--keyboards/coarse/cordillera/info.json6
2 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h
index 9d680e19bf..f648e5f15f 100644
--- a/keyboards/coarse/cordillera/config.h
+++ b/keyboards/coarse/cordillera/config.h
@@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 }
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN B0
-#define LED_CAPS_LOCK_PIN A1
-#define LED_SCROLL_LOCK_PIN A0
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json
index 53187917a1..3d968ab84d 100644
--- a/keyboards/coarse/cordillera/info.json
+++ b/keyboards/coarse/cordillera/info.json
@@ -8,6 +8,12 @@
"pid": "0x1401",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A1",
+ "num_lock": "B0",
+ "scroll_lock": "A0",
+ "on_state": 0
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["alice", "alice_split_bs"],