summaryrefslogtreecommitdiff
path: root/keyboards/sx60
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/sx60
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/sx60')
-rwxr-xr-xkeyboards/sx60/config.h5
-rw-r--r--keyboards/sx60/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/sx60/config.h b/keyboards/sx60/config.h
index 82a0b146dc..7666dc165e 100755
--- a/keyboards/sx60/config.h
+++ b/keyboards/sx60/config.h
@@ -32,11 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* indicator LEDs */
-#define LED_NUM_LOCK_PIN F5
-#define LED_CAPS_LOCK_PIN F4
-#define LED_SCROLL_LOCK_PIN F1
-
#define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/sx60/info.json b/keyboards/sx60/info.json
index b88cb070fd..b4b93b2cad 100644
--- a/keyboards/sx60/info.json
+++ b/keyboards/sx60/info.json
@@ -8,6 +8,11 @@
"pid": "0x0010",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "F4",
+ "num_lock": "F5",
+ "scroll_lock": "F1"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {