Wrong/combinations of home row mods triggering
Hi, I'm trying to add Home Row Mods to my Iris rev 4 and I've run into some issues.
Adding my code changes to add home row mods:
// keymap.c
#define HRM_A LGUI_T(KC_A)
#define HRM_R LALT_T(KC_R)
#define HRM_S LSFT_T(KC_S)
#define HRM_T LCTL_T(KC_T)
#define HRM_N RCTL_T(KC_N)
#define HRM_E RSFT_T(KC_E)
#define HRM_I LALT_T(KC_I)
#define HRM_O RGUI_T(KC_O)
...
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_COLEMAK_DH] = LAYOUT(
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F12,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_QUOT,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
KC_LSFT, HRM_A, HRM_R, HRM_S, HRM_T, KC_G, KC_M, HRM_N, HRM_E, HRM_I, HRM_O, KC_RSFT,
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
KC_LCTL, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_ENT, RGB_TOG, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_BSPC,
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
KC_LGUI, LOWER, KC_ENT, KC_SPC, RAISE, KC_RALT
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
),
...
// no changes were made to my `process_record_user`, I can add it as well if it's necessary
...
// config.h
#define TAPPING_TERM 200
#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_FORCE_HOLD
The issue I have is that the wrong mods are being triggered, and for most keys it's even triggering a combination of mods. I have no idea how this can be caused by my simple code changes. See the issue demonstrated in this gif:
https://i.redd.it/lp47pyj2dtx81.gif
Has anyone run into a similar issue? I'd appreciate any help!
Posted May 6, 2022, 8:11 AM UTC
31
After some further messing around in the code, it turned out that somehow my
VIA_ENABLE = yeswas causing this. Disabling via solved the issue.If anyone has any idea why that's an issue, I'd love to hear it.