summaryrefslogtreecommitdiff
path: root/keyboards/chocofly
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/chocofly')
-rw-r--r--keyboards/chocofly/chocofly.c2
-rw-r--r--keyboards/chocofly/chocofly.h10
-rw-r--r--keyboards/chocofly/v1/config.h9
-rw-r--r--keyboards/chocofly/v1/info.json5
-rw-r--r--keyboards/chocofly/v1/v1.c4
-rw-r--r--keyboards/chocofly/v1/v1.h2
6 files changed, 6 insertions, 26 deletions
diff --git a/keyboards/chocofly/chocofly.c b/keyboards/chocofly/chocofly.c
index 8ae38602ab..0f00afe2f9 100644
--- a/keyboards/chocofly/chocofly.c
+++ b/keyboards/chocofly/chocofly.c
@@ -1,7 +1,7 @@
// Copyright 2022 Vitaly Volkov (@vlkv)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "chocofly.h"
+#include "quantum.h"
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/chocofly/chocofly.h b/keyboards/chocofly/chocofly.h
deleted file mode 100644
index 7d94774625..0000000000
--- a/keyboards/chocofly/chocofly.h
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2022 Vitaly Volkov (@vlkv)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#ifdef KEYBOARD_chocofly_v1
- #include "v1.h"
-#endif
-
-#include "quantum.h"
diff --git a/keyboards/chocofly/v1/config.h b/keyboards/chocofly/v1/config.h
deleted file mode 100644
index a1886ffafa..0000000000
--- a/keyboards/chocofly/v1/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2022 Vitaly Volkov (@vlkv)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
-
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/chocofly/v1/info.json b/keyboards/chocofly/v1/info.json
index ab4fde45e6..e7578ae942 100644
--- a/keyboards/chocofly/v1/info.json
+++ b/keyboards/chocofly/v1/info.json
@@ -8,6 +8,11 @@
"pid": "0x1001",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D3", "pin_b": "D2", "resolution": 2}
diff --git a/keyboards/chocofly/v1/v1.c b/keyboards/chocofly/v1/v1.c
deleted file mode 100644
index 6c142b7453..0000000000
--- a/keyboards/chocofly/v1/v1.c
+++ /dev/null
@@ -1,4 +0,0 @@
-// Copyright 2022 Vitaly Volkov (@vlkv)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "v1.h"
diff --git a/keyboards/chocofly/v1/v1.h b/keyboards/chocofly/v1/v1.h
index 5f07f6c325..bf3c93f8be 100644
--- a/keyboards/chocofly/v1/v1.h
+++ b/keyboards/chocofly/v1/v1.h
@@ -3,8 +3,6 @@
#pragma once
-#include "chocofly.h"
-
#include "quantum.h"
#define K__ KC_NO