From 3ae4050b9287e0bd3dedcdc642bf43ac1a1919b3 Mon Sep 17 00:00:00 2001 From: Yoichiro Tanaka Date: Tue, 17 Aug 2021 14:41:03 +0900 Subject: [PATCH] Remove flags from default keymap, and append keyboard information to README.md file. --- .../lunakey_macro/keymaps/default/keymap.c | 19 ++----------------- .../lunakey_macro/keymaps/default/rules.mk | 3 --- keyboards/yoichiro/lunakey_macro/readme.md | 14 ++++++++------ 3 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 keyboards/yoichiro/lunakey_macro/keymaps/default/rules.mk diff --git a/keyboards/yoichiro/lunakey_macro/keymaps/default/keymap.c b/keyboards/yoichiro/lunakey_macro/keymaps/default/keymap.c index de723b0c8406..7f0fccb5b75b 100644 --- a/keyboards/yoichiro/lunakey_macro/keymaps/default/keymap.c +++ b/keyboards/yoichiro/lunakey_macro/keymaps/default/keymap.c @@ -34,23 +34,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ENT, KC_BSPC, DF(_ADJUST) \ ), [_ADJUST] = LAYOUT( - RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, \ - AU_TOG, CK_TOGG, MU_TOG, MU_MOD, \ + KC_NO, KC_NO, KC_NO, KC_NO, \ + KC_NO, KC_NO, KC_NO, KC_NO, \ RESET, KC_NO, DF(_NUMBERS) \ ) }; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - float next_song[][2] = SONG(E__NOTE(_A6)); - float back_song[][2] = SONG(H__NOTE(_D2)); - switch (keycode) { - case DF(_NUMBERS): - case DF(_CURSOR): - PLAY_SONG(next_song); - break; - case DF(_ADJUST): - PLAY_SONG(back_song); - break; - } - return true; -} diff --git a/keyboards/yoichiro/lunakey_macro/keymaps/default/rules.mk b/keyboards/yoichiro/lunakey_macro/keymaps/default/rules.mk deleted file mode 100644 index 42f6c529b143..000000000000 --- a/keyboards/yoichiro/lunakey_macro/keymaps/default/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -AUDIO_ENABLE = yes -RGBLIGHT_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/yoichiro/lunakey_macro/readme.md b/keyboards/yoichiro/lunakey_macro/readme.md index 3598cd6737b1..5ffe5da1a050 100644 --- a/keyboards/yoichiro/lunakey_macro/readme.md +++ b/keyboards/yoichiro/lunakey_macro/readme.md @@ -1,12 +1,12 @@ # Lunakey Macro -![Lunakey Macro](imgur.com image replace me!) +![Lunakey Macro](https://i.imgur.com/BirFxgY.jpeg) -*A short description of the keyboard/project* +This is a macro keyboard which has 11 keys. -* Keyboard Maintainer: [Yoichiro Tanaka](https://github.com/yourusername) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* +* Keyboard Maintainer: [Yoichiro Tanaka](https://github.com/yoichiro) +* Hardware Supported: Lunakey Macro PCB, Pro Micro MCU. +* Hardware Availability: Published yet. Make example for this keyboard (after setting up your build environment): @@ -14,6 +14,8 @@ Make example for this keyboard (after setting up your build environment): Flashing example for this keyboard: - make lunakey_macro:default:flash + make lunakey_macro:default:avrdude + +To enter the bootloader mode, you push the black tact switch next to the ProMicro. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).