summaryrefslogtreecommitdiff
path: root/keyboards/smk60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/smk60')
-rw-r--r--keyboards/smk60/config.h7
-rw-r--r--keyboards/smk60/info.json8
-rw-r--r--keyboards/smk60/smk60.c5
3 files changed, 8 insertions, 12 deletions
diff --git a/keyboards/smk60/config.h b/keyboards/smk60/config.h
index a4aa26d5d5..9cc3f8601e 100644
--- a/keyboards/smk60/config.h
+++ b/keyboards/smk60/config.h
@@ -4,12 +4,6 @@
*/
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B0, F0, F1, F5, B2 }
-#define MATRIX_COL_PINS { B4, B5, B6, C6, C7, F6, F7, F4, B1, B3, D0, D1, D2, D3, D5}
-#define DIODE_DIRECTION COL2ROW
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
@@ -28,7 +22,6 @@
//rgb light setting
#define RGBLED_NUM 4
-#define RGB_DI_PIN E6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/smk60/info.json b/keyboards/smk60/info.json
index 9e356ef6c8..5773958ea9 100644
--- a/keyboards/smk60/info.json
+++ b/keyboards/smk60/info.json
@@ -8,6 +8,14 @@
"pid": "0x6585",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "E6"
+ },
+ "matrix_pins": {
+ "cols": ["B4", "B5", "B6", "C6", "C7", "F6", "F7", "F4", "B1", "B3", "D0", "D1", "D2", "D3", "D5"],
+ "rows": ["B0", "F0", "F1", "F5", "B2"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_hhkb", "60_iso"],
diff --git a/keyboards/smk60/smk60.c b/keyboards/smk60/smk60.c
deleted file mode 100644
index 947bec03a0..0000000000
--- a/keyboards/smk60/smk60.c
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * smk60.c
- */
-
-#include "smk60.h"