summaryrefslogtreecommitdiff
path: root/keyboards/massdrop/alt/keymaps/mac/keymap.c
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-12-05 19:44:39 +1100
committerDrashna Jaelre <drashna@live.com>2019-12-05 00:44:39 -0800
commit3ad389de55aa73eef4542807488a70a19639df11 (patch)
treea83c3cddfb943508e42b7295b8d76296c287c183 /keyboards/massdrop/alt/keymaps/mac/keymap.c
parent66040506a7cece73ad1e3f892aa3effab97ec7f9 (diff)
downloadqmk_firmware-3ad389de55aa73eef4542807488a70a19639df11.tar.gz
qmk_firmware-3ad389de55aa73eef4542807488a70a19639df11.zip
Add short aliases for Magic keycodes (#7541)
* Add short alias for `MAGIC_TOGGLE_NKRO` * Add aliases for the other Bootmagic keycodes * Replace long form in default keymaps
Diffstat (limited to 'keyboards/massdrop/alt/keymaps/mac/keymap.c')
-rw-r--r--keyboards/massdrop/alt/keymaps/mac/keymap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/massdrop/alt/keymaps/mac/keymap.c b/keyboards/massdrop/alt/keymaps/mac/keymap.c
index 222d7e2c50..9f575b4f12 100644
--- a/keyboards/massdrop/alt/keymaps/mac/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/mac/keymap.c
@@ -10,8 +10,6 @@ enum alt_keycodes {
MD_BOOT, //Restart into bootloader after hold timeout
};
-#define TG_NKRO MAGIC_TOGGLE_NKRO //Toggle 6KRO / NKRO mode
-
keymap_config_t keymap_config;
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -26,7 +24,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_MUTE, \
_______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SLCK, KC_PAUS, _______, KC_END, \
_______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, \
- _______, RGB_TOG, _______, _______, _______, MD_BOOT, TG_NKRO, DBG_TOG, _______, _______, _______, _______, KC_PGUP, KC_VOLD, \
+ _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_PGUP, KC_VOLD, \
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END \
),
/*