summaryrefslogtreecommitdiffstats
path: root/keyboards/melgeek/mj6xy
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/melgeek/mj6xy')
-rwxr-xr-xkeyboards/melgeek/mj6xy/config.h7
-rwxr-xr-xkeyboards/melgeek/mj6xy/info.json8
-rwxr-xr-xkeyboards/melgeek/mj6xy/rev3/config.h3
-rwxr-xr-xkeyboards/melgeek/mj6xy/rev3/rules.mk8
4 files changed, 8 insertions, 18 deletions
diff --git a/keyboards/melgeek/mj6xy/config.h b/keyboards/melgeek/mj6xy/config.h
index fb02fddc1f..263092c8f7 100755
--- a/keyboards/melgeek/mj6xy/config.h
+++ b/keyboards/melgeek/mj6xy/config.h
@@ -16,13 +16,6 @@
#pragma once
-#include "config_common.h"
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 3
-
-
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/melgeek/mj6xy/info.json b/keyboards/melgeek/mj6xy/info.json
index cdd2e05749..ec54bbf7f7 100755
--- a/keyboards/melgeek/mj6xy/info.json
+++ b/keyboards/melgeek/mj6xy/info.json
@@ -8,6 +8,13 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C7",
+ "on_state": 0
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "debounce": 3,
"layout_aliases": {
"LAYOUT_60_ansi_7u_spc": "LAYOUT_60_ansi_tsangan",
"LAYOUT_60_iso_7u_spc_split_bs_rshift": "LAYOUT_60_iso_tsangan_split_bs_rshift",
@@ -22,6 +29,7 @@
"LAYOUT_60_iso_1u_lshift_split_bs_rshift": "LAYOUT_60_iso_split_bs_rshift",
"LAYOUT_60_iso_1u_lshift_7u_spc_split_bs_rshift": "LAYOUT_60_iso_tsangan_split_bs_rshift"
},
+ "community_layouts": ["60_ansi"],
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h
index 58b844c7aa..47cc710f5a 100755
--- a/keyboards/melgeek/mj6xy/rev3/config.h
+++ b/keyboards/melgeek/mj6xy/rev3/config.h
@@ -26,9 +26,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN C7
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B7
#define RGB_DI_PIN C6
diff --git a/keyboards/melgeek/mj6xy/rev3/rules.mk b/keyboards/melgeek/mj6xy/rev3/rules.mk
index 4b316fa04f..6559b3778b 100755
--- a/keyboards/melgeek/mj6xy/rev3/rules.mk
+++ b/keyboards/melgeek/mj6xy/rev3/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 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
BACKLIGHT_DRIVER = software
-
-LAYOUTS = 60_ansi