Skip to content

Commit

Permalink
Added combos to emulate missing keys for ferris
Browse files Browse the repository at this point in the history
WARNING: Needs qmk#8591 to work
properly.
  • Loading branch information
mattdibi committed Jan 16, 2022
1 parent 73be649 commit 4d48bef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions users/manna-harbour_miryoku/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
// Recommended for heavy chording.
#define QMK_KEYS_PER_SCAN 4

// Specify the number of combos that you'll be using
#define COMBO_COUNT 2
#define COMBO_TERM 150

// Mouse key speed and acceleration.
#undef MOUSEKEY_DELAY
#define MOUSEKEY_DELAY 0
Expand Down
10 changes: 10 additions & 0 deletions users/manna-harbour_miryoku/manna-harbour_miryoku.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
U_NP, U_NP, KC_APP, KC_BSPC, KC_TAB, U_NA, U_NA, U_NA, U_NP, U_NP
)
};

// Use thumb clusters to emulate missing third thumb cluster keys
// Needs https://github.com/qmk/qmk_firmware/pull/8591
const uint16_t PROGMEM rthumb_combo[] = {LT(SYM, KC_ENT), LT(NUM, KC_SPC), COMBO_END};
const uint16_t PROGMEM lthumb_combo[] = {LT(NAV, KC_BSPC), LT(MEDIA, KC_TAB), COMBO_END};

combo_t key_combos[COMBO_COUNT] = {
COMBO(rthumb_combo, KC_DEL),
COMBO(lthumb_combo, KC_ESC)
};
1 change: 1 addition & 0 deletions users/manna-harbour_miryoku/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = no # Audio control and System control
AUTO_SHIFT_ENABLE = no # Auto Shift
COMBO_ENABLE = yes

SRC += manna-harbour_miryoku.c # keymap

Expand Down

0 comments on commit 4d48bef

Please sign in to comment.