From 108e3d2b5cdf7a77c72afbadd013df15df2fa2a4 Mon Sep 17 00:00:00 2001
From: JackyJia73 <128167503+JackyJia73@users.noreply.github.com>
Date: Sat, 22 Jun 2024 18:41:36 +0800
Subject: [PATCH] keyboards name changed, remove non related wireless code
(this is a USB only board)
---
keyboards/mmd/km17/halconf.h | 5 -----
keyboards/mmd/km17/keyboard.json | 2 +-
keyboards/mmd/km17/keymaps/default/keymap.c | 20 ++------------------
keyboards/mmd/km17/keymaps/via/keymap.c | 20 ++------------------
keyboards/mmd/km17/{km17.c => km75.c} | 0
keyboards/mmd/km17/readme.md | 6 +++---
6 files changed, 8 insertions(+), 45 deletions(-)
rename keyboards/mmd/km17/{km17.c => km75.c} (100%)
diff --git a/keyboards/mmd/km17/halconf.h b/keyboards/mmd/km17/halconf.h
index ca7a4a689d0..1a63b842b8d 100644
--- a/keyboards/mmd/km17/halconf.h
+++ b/keyboards/mmd/km17/halconf.h
@@ -14,11 +14,6 @@
* along with this program. If not, see .
*/
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/annepro2/halconf.h -r platforms/chibios/common/configs/halconf.h`
- */
-
#pragma once
#define HAL_USE_PWM TRUE
diff --git a/keyboards/mmd/km17/keyboard.json b/keyboards/mmd/km17/keyboard.json
index 919982ee46e..3f8edf5b809 100644
--- a/keyboards/mmd/km17/keyboard.json
+++ b/keyboards/mmd/km17/keyboard.json
@@ -1,6 +1,6 @@
{
"manufacturer": "MMD",
- "keyboard_name": "MMD-KM17",
+ "keyboard_name": "MMD-KM75",
"maintainer": "Smartmmd",
"board": "STM32_F103_STM32DUINO",
"bootloader": "stm32duino",
diff --git a/keyboards/mmd/km17/keymaps/default/keymap.c b/keyboards/mmd/km17/keymaps/default/keymap.c
index 8e45af354d9..fd1404b6998 100644
--- a/keyboards/mmd/km17/keymaps/default/keymap.c
+++ b/keyboards/mmd/km17/keymaps/default/keymap.c
@@ -16,22 +16,6 @@ along with this program. If not, see .
#include QMK_KEYBOARD_H
-enum custom_keycodes {
-#ifdef VIA_ENABLE
-// KC_USB = QK_USER,
- KC_24G = QK_KB_0,
-#else
- KC_24G = SAFE_RANGE,
-#endif
- KC_BLE1,
- KC_BLE2,
- KC_BLE3,
- WIN_LOCK,
- KC_RESET,
- KC_BAT,
- ENC_TG
-};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -46,7 +30,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[1] = LAYOUT(
_______, KC_BRID, KC_BRIU, LGUI(KC_TAB), LGUI(KC_E), KC_MAIL, KC_WHOM, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
- _______, KC_BLE1, KC_BLE2, KC_BLE3, KC_24G, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_HUD, RGB_MOD, RGB_TOG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______,
@@ -64,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[3] = LAYOUT(
_______, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
- _______, KC_BLE1, KC_BLE2, KC_BLE3, KC_24G, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_HUD, RGB_MOD, RGB_TOG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______,
diff --git a/keyboards/mmd/km17/keymaps/via/keymap.c b/keyboards/mmd/km17/keymaps/via/keymap.c
index 8e45af354d9..fd1404b6998 100644
--- a/keyboards/mmd/km17/keymaps/via/keymap.c
+++ b/keyboards/mmd/km17/keymaps/via/keymap.c
@@ -16,22 +16,6 @@ along with this program. If not, see .
#include QMK_KEYBOARD_H
-enum custom_keycodes {
-#ifdef VIA_ENABLE
-// KC_USB = QK_USER,
- KC_24G = QK_KB_0,
-#else
- KC_24G = SAFE_RANGE,
-#endif
- KC_BLE1,
- KC_BLE2,
- KC_BLE3,
- WIN_LOCK,
- KC_RESET,
- KC_BAT,
- ENC_TG
-};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -46,7 +30,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[1] = LAYOUT(
_______, KC_BRID, KC_BRIU, LGUI(KC_TAB), LGUI(KC_E), KC_MAIL, KC_WHOM, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
- _______, KC_BLE1, KC_BLE2, KC_BLE3, KC_24G, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_HUD, RGB_MOD, RGB_TOG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______,
@@ -64,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[3] = LAYOUT(
_______, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
- _______, KC_BLE1, KC_BLE2, KC_BLE3, KC_24G, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BAT, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_HUD, RGB_MOD, RGB_TOG,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______,
diff --git a/keyboards/mmd/km17/km17.c b/keyboards/mmd/km17/km75.c
similarity index 100%
rename from keyboards/mmd/km17/km17.c
rename to keyboards/mmd/km17/km75.c
diff --git a/keyboards/mmd/km17/readme.md b/keyboards/mmd/km17/readme.md
index 7b9a16126f9..97aee4457ca 100644
--- a/keyboards/mmd/km17/readme.md
+++ b/keyboards/mmd/km17/readme.md
@@ -1,4 +1,4 @@
-# MMD-KM17
+# MMD-KM75
* A customizable soldering 75% keyboard.
@@ -9,10 +9,10 @@
Make example for this keyboard (after setting up your build environment):
- make mmd/km17:default
+ make mmd/km75:default
Flashing example for this keyboard:
- make mmd/km17:default:flash
+ make mmd/km75:default:flash
See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.