diff options
Diffstat (limited to 'keyboards/mechlovin/hex4b/rev2')
-rw-r--r-- | keyboards/mechlovin/hex4b/rev2/config.h | 14 | ||||
-rw-r--r-- | keyboards/mechlovin/hex4b/rev2/info.json | 15 | ||||
-rw-r--r-- | keyboards/mechlovin/hex4b/rev2/rules.mk | 6 |
3 files changed, 14 insertions, 21 deletions
diff --git a/keyboards/mechlovin/hex4b/rev2/config.h b/keyboards/mechlovin/hex4b/rev2/config.h index 9eb4e03feb..c0486dd0b7 100644 --- a/keyboards/mechlovin/hex4b/rev2/config.h +++ b/keyboards/mechlovin/hex4b/rev2/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" /* * Keyboard Matrix Assignments @@ -33,17 +32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 } #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 } -#define LED_NUM_LOCK_PIN C15 -#define LED_CAPS_LOCK_PIN B9 -#define LED_SCROLL_LOCK_PIN A15 -//#define LED_COMPOSE_PIN B3 -//#define LED_KANA_PIN B4 - -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_DRIVER PWMD4 -#define BACKLIGHT_BREATHING - -/* Bootmagic Lite key configuration, Backspace */ -#define BOOTMAGIC_LITE_ROW 1 -#define BOOTMAGIC_LITE_COLUMN 14
\ No newline at end of file diff --git a/keyboards/mechlovin/hex4b/rev2/info.json b/keyboards/mechlovin/hex4b/rev2/info.json index da18a2ce4b..7d9a2cb40a 100644 --- a/keyboards/mechlovin/hex4b/rev2/info.json +++ b/keyboards/mechlovin/hex4b/rev2/info.json @@ -2,5 +2,18 @@ "keyboard_name": "Hex-4B Rev.2", "usb": { "device_version": "0.0.2" - } + }, + "backlight": { + "pin": "B8", + "levels": 5, + "breathing": true + }, + "indicators": { + "caps_lock": "B9", + "num_lock": "C15", + "scroll_lock": "A15", + "on_state": 0 + }, + "processor": "STM32F103", + "bootloader": "stm32duino" } diff --git a/keyboards/mechlovin/hex4b/rev2/rules.mk b/keyboards/mechlovin/hex4b/rev2/rules.mk index a61a25009b..a5089d51a5 100644 --- a/keyboards/mechlovin/hex4b/rev2/rules.mk +++ b/keyboards/mechlovin/hex4b/rev2/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = STM32F103 - -# Bootloader selection -BOOTLOADER = stm32duino - # Build Options # change yes to no to disable # |