From de8c1b097beff76d13ebbc51e1f289e34c351db1 Mon Sep 17 00:00:00 2001 From: Oscar Blue Date: Mon, 13 Jan 2025 23:15:43 +0000 Subject: [PATCH] Added combos for noble keymap --- keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c | 13 +++++++++++-- keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c index 7de471eccc..74ab80daf2 100644 --- a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c +++ b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/keymap.c @@ -53,7 +53,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + MS_JIGL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, @@ -62,7 +62,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [2] = LAYOUT( - MS_JIGL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_REC1, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_REC2, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DM_PLY1, @@ -182,3 +182,12 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { } return false; }; + +const uint16_t PROGMEM prev_track[] = {KC_PGDN, KC_LEFT, COMBO_END}; +const uint16_t PROGMEM next_track[] = {KC_PGDN, KC_RGHT, COMBO_END}; +const uint16_t PROGMEM play_track[] = {KC_PGDN, KC_DOWN, COMBO_END}; +combo_t key_combos[] = { + COMBO(prev_track, KC_MPRV), + COMBO(next_track, KC_MNXT), + COMBO(play_track, KC_MPLY), +}; diff --git a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk index 70c89fc2ee..016a174469 100644 --- a/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk +++ b/keyboards/gmmk/pro/rev1/iso/keymaps/noble/rules.mk @@ -5,3 +5,4 @@ VIALRGB_ENABLE=yes ENCODER_MAP_ENABLE=yes DYNAMIC_MACRO_ENABLE = yes MOUSEKEY_ENABLE = yes +COMBO_ENABLE = yes \ No newline at end of file