Skip to content

Commit

Permalink
Remove flags from default keymap, and append keyboard information to …
Browse files Browse the repository at this point in the history
…README.md file.
  • Loading branch information
yoichiro committed Aug 17, 2021
1 parent 9db05e4 commit 3ae4050
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
19 changes: 2 additions & 17 deletions keyboards/yoichiro/lunakey_macro/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
3 changes: 0 additions & 3 deletions keyboards/yoichiro/lunakey_macro/keymaps/default/rules.mk

This file was deleted.

14 changes: 8 additions & 6 deletions keyboards/yoichiro/lunakey_macro/readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# 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):

make lunakey_macro:default

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).

0 comments on commit 3ae4050

Please sign in to comment.