summaryrefslogtreecommitdiff
path: root/keyboards/zj68
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/zj68')
-rw-r--r--keyboards/zj68/config.h14
-rw-r--r--keyboards/zj68/info.json7
-rw-r--r--keyboards/zj68/rules.mk8
3 files changed, 7 insertions, 22 deletions
diff --git a/keyboards/zj68/config.h b/keyboards/zj68/config.h
index ea21e3e58e..efbdb02f81 100644
--- a/keyboards/zj68/config.h
+++ b/keyboards/zj68/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 15
/* key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
@@ -30,15 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* number of backlight levels */
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/zj68/info.json b/keyboards/zj68/info.json
index ed903a6400..0c902f2468 100644
--- a/keyboards/zj68/info.json
+++ b/keyboards/zj68/info.json
@@ -7,6 +7,13 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "community_layouts": ["65_ansi"],
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/zj68/rules.mk b/keyboards/zj68/rules.mk
index 1d5db073ca..5c84ca0a17 100644
--- a/keyboards/zj68/rules.mk
+++ b/keyboards/zj68/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#
@@ -17,5 +11,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
-
-LAYOUTS = 65_ansi