summaryrefslogtreecommitdiff
path: root/keyboards/ktec
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ktec')
-rwxr-xr-xkeyboards/ktec/staryu/config.h11
-rw-r--r--keyboards/ktec/staryu/info.json6
2 files changed, 6 insertions, 11 deletions
diff --git a/keyboards/ktec/staryu/config.h b/keyboards/ktec/staryu/config.h
index 3b0cb8f330..1826763cbf 100755
--- a/keyboards/ktec/staryu/config.h
+++ b/keyboards/ktec/staryu/config.h
@@ -16,17 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 3
-
-/* key matrix pins */
-#define DIRECT_PINS { \
- { NO_PIN, D0, D1 }, \
- { D4, D3, D2 }, \
-}
-
#define RGB_DI_PIN C6
#define RGBLED_NUM 1 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json
index 392610c98a..e222923a23 100644
--- a/keyboards/ktec/staryu/info.json
+++ b/keyboards/ktec/staryu/info.json
@@ -10,6 +10,12 @@
},
"processor": "atmega32u2",
"bootloader": "lufa-dfu",
+ "matrix_pins": {
+ "direct": [
+ [null, "D0", "D1"],
+ ["D4", "D3", "D2"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}]