diff --git a/keyboards/framework/ansi/keymaps/tgrosinger/keymap.c b/keyboards/framework/ansi/keymaps/tgrosinger/keymap.c index b732206621..febbea0f24 100644 --- a/keyboards/framework/ansi/keymaps/tgrosinger/keymap.c +++ b/keyboards/framework/ansi/keymaps/tgrosinger/keymap.c @@ -14,6 +14,20 @@ enum _layers { // - FN+Escape => Sleep // - Remove fn lock layers +const uint16_t PROGMEM backspace_combo[] = {KC_S, KC_D, COMBO_END}; +const uint16_t PROGMEM tab_combo[] = {KC_D, KC_F, COMBO_END}; +const uint16_t PROGMEM enter_combo[] = {KC_C, KC_V, COMBO_END}; +const uint16_t PROGMEM underscore_combo[] = {KC_N, KC_M, COMBO_END}; +const uint16_t PROGMEM greaterthan_combo[] = {KC_J, KC_K, COMBO_END}; +const uint16_t PROGMEM lessthan_combo[] = {KC_K, KC_L, COMBO_END}; +combo_t key_combos[] = { + COMBO(backspace_combo, KC_BSPC), + COMBO(tab_combo, KC_TAB), + COMBO(enter_combo, KC_ENT), + COMBO(underscore_combo, KC_UNDS), + COMBO(greaterthan_combo, KC_GT), + COMBO(lessthan_combo, KC_LT), +}; // Ctrl, Alt, Win, Shift when held and combined, Escape when tapped. #define KC_HESC ALL_T(KC_ESC) diff --git a/keyboards/framework/ansi/rules.mk b/keyboards/framework/ansi/rules.mk index 68d6023391..4a2ccd2923 100644 --- a/keyboards/framework/ansi/rules.mk +++ b/keyboards/framework/ansi/rules.mk @@ -2,3 +2,6 @@ #CONSOLE_ENABLE = yes RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = IS31FL3743A + +# tgrosinger config +COMBO_ENABLE = yes