summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd75
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd75')
-rw-r--r--keyboards/kbdfans/kbd75/config.h11
-rw-r--r--keyboards/kbdfans/kbd75/kbd75.c4
-rw-r--r--keyboards/kbdfans/kbd75/kbd75.h12
-rw-r--r--keyboards/kbdfans/kbd75/keymaps/tucznak/config.h2
-rw-r--r--keyboards/kbdfans/kbd75/rev1/info.json5
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rev1.c4
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rev1.h2
-rw-r--r--keyboards/kbdfans/kbd75/rev2/info.json5
-rw-r--r--keyboards/kbdfans/kbd75/rev2/rev2.c4
-rw-r--r--keyboards/kbdfans/kbd75/rev2/rev2.h2
10 files changed, 12 insertions, 39 deletions
diff --git a/keyboards/kbdfans/kbd75/config.h b/keyboards/kbdfans/kbd75/config.h
index 7b630434d4..f22102c361 100644
--- a/keyboards/kbdfans/kbd75/config.h
+++ b/keyboards/kbdfans/kbd75/config.h
@@ -3,14 +3,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 }
-#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, F5, D4, B1, B0, B5, B4, D7, D6, B3, F4, F6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
@@ -18,7 +10,6 @@
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN E2
-#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -35,5 +26,3 @@
#define RGBLIGHT_VAL_STEP 8
/* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_SLEEP
-
-#endif
diff --git a/keyboards/kbdfans/kbd75/kbd75.c b/keyboards/kbdfans/kbd75/kbd75.c
deleted file mode 100644
index 1a1bffa360..0000000000
--- a/keyboards/kbdfans/kbd75/kbd75.c
+++ /dev/null
@@ -1,4 +0,0 @@
-// Copyright 2017 QMK
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "kbd75.h"
diff --git a/keyboards/kbdfans/kbd75/kbd75.h b/keyboards/kbdfans/kbd75/kbd75.h
deleted file mode 100644
index a2c5d9e4c3..0000000000
--- a/keyboards/kbdfans/kbd75/kbd75.h
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2017-2019 QMK
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-#if defined(KEYBOARD_kbdfans_kbd75_rev1)
- #include "rev1.h"
-#elif defined(KEYBOARD_kbdfans_kbd75_rev2)
- #include "rev2.h"
-#endif
diff --git a/keyboards/kbdfans/kbd75/keymaps/tucznak/config.h b/keyboards/kbdfans/kbd75/keymaps/tucznak/config.h
index f93cd66bfb..e42b60811c 100644
--- a/keyboards/kbdfans/kbd75/keymaps/tucznak/config.h
+++ b/keyboards/kbdfans/kbd75/keymaps/tucznak/config.h
@@ -11,9 +11,7 @@
#define RETRO_TAPPING
/* turn off RGB when computer sleeps */
-#ifdef RGB_DI_PIN
#define RGBLIGHT_SLEEP
-#endif
#ifdef BACKLIGHT_LEVELS
#undef BACKLIGHT_LEVELS
diff --git a/keyboards/kbdfans/kbd75/rev1/info.json b/keyboards/kbdfans/kbd75/rev1/info.json
index e1cc9ee7bc..7688d2fd32 100644
--- a/keyboards/kbdfans/kbd75/rev1/info.json
+++ b/keyboards/kbdfans/kbd75/rev1/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F0", "F1", "E6", "C7", "C6", "F5", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F6"],
+ "rows": ["D0", "D1", "D2", "D3", "D5", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 5
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c
deleted file mode 100644
index e7ba9f3722..0000000000
--- a/keyboards/kbdfans/kbd75/rev1/rev1.c
+++ /dev/null
@@ -1,4 +0,0 @@
-// Copyright 2019-2020 QMK
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "rev1.h"
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.h b/keyboards/kbdfans/kbd75/rev1/rev1.h
index ac7b38ed02..22333324e4 100644
--- a/keyboards/kbdfans/kbd75/rev1/rev1.h
+++ b/keyboards/kbdfans/kbd75/rev1/rev1.h
@@ -3,7 +3,7 @@
#pragma once
-#include "kbd75.h"
+#include "quantum.h"
#define ___ KC_NO
diff --git a/keyboards/kbdfans/kbd75/rev2/info.json b/keyboards/kbdfans/kbd75/rev2/info.json
index a5436f05ac..2e89c075be 100644
--- a/keyboards/kbdfans/kbd75/rev2/info.json
+++ b/keyboards/kbdfans/kbd75/rev2/info.json
@@ -8,6 +8,11 @@
"pid": "0x6061",
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["F0", "F1", "E6", "C7", "C6", "F5", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F6"],
+ "rows": ["D0", "D1", "D2", "D3", "D5", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 5
diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.c b/keyboards/kbdfans/kbd75/rev2/rev2.c
deleted file mode 100644
index 352d837437..0000000000
--- a/keyboards/kbdfans/kbd75/rev2/rev2.c
+++ /dev/null
@@ -1,4 +0,0 @@
-// Copyright 2019-2020 QMK
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "rev2.h"
diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.h b/keyboards/kbdfans/kbd75/rev2/rev2.h
index f37be40094..dba3cc2fab 100644
--- a/keyboards/kbdfans/kbd75/rev2/rev2.h
+++ b/keyboards/kbdfans/kbd75/rev2/rev2.h
@@ -3,7 +3,7 @@
#pragma once
-#include "kbd75.h"
+#include "quantum.h"
#define ___ KC_NO