From 8443b2b120f6c920301a51dd0913fa52acb8daac Mon Sep 17 00:00:00 2001 From: Oscar Blue Date: Sat, 31 Aug 2024 15:07:22 +0100 Subject: [PATCH] Add mousekeys and dynamic macros --- .../gmmk/pro/rev1/iso/keymaps/noble/keymap.c | 18 +++++++++--------- .../gmmk/pro/rev1/iso/keymaps/noble/rules.mk | 2 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c index b6ee1f84dc..c4065bf125 100644 --- a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c +++ b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c @@ -52,17 +52,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, KC_MSTP, _______, + TG(2), _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, KC_MSTP, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT ), [2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_REC1, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_REC2, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_PLY1, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_U, DM_PLY2, + _______, _______, _______, _______, KC_BTN1, LT(3,KC_BTN3), KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_R ), [3] = LAYOUT( @@ -70,8 +70,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_WH_U, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_WH_D, _______ ), }; diff --git a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk index eff4146741..70c89fc2ee 100644 --- a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk +++ b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk @@ -3,3 +3,5 @@ VIAL_ENABLE=yes VIALRGB_ENABLE=yes ENCODER_MAP_ENABLE=yes +DYNAMIC_MACRO_ENABLE = yes +MOUSEKEY_ENABLE = yes