diff --git a/keyboards/handwired/adept42/config.h b/keyboards/handwired/adept42/config.h index 8fc586d164..02b0dc4fbd 100644 --- a/keyboards/handwired/adept42/config.h +++ b/keyboards/handwired/adept42/config.h @@ -50,7 +50,7 @@ #define TAPPING_TERM 250 /* Allow quick tapping not to trigger modifier hold */ -#define IGNORE_MOD_TAP_INTERRUPT +#define IGNORE_MOD_TAP_INTERRUPT_PER_KEY /* Releasing key without pressing another will send the original key */ #define RETRO_TAPPING diff --git a/keyboards/handwired/adept42/keymaps/micro/keymap.c b/keyboards/handwired/adept42/keymaps/micro/keymap.c index ee94bce503..545ce9abea 100644 --- a/keyboards/handwired/adept42/keymaps/micro/keymap.c +++ b/keyboards/handwired/adept42/keymaps/micro/keymap.c @@ -35,7 +35,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, \ - CTL_T(KC_SPC), LCA_T(KC_ENT), MO(_L1), TD(LT_LEAD), LGUI_T(KC_SPC), KC_RALT \ + LCTL_T(KC_SPC), LCA_T(KC_ENT), MO(_L1), TD(LT_LEAD), LGUI_T(KC_SPC), KC_RALT \ ), /* @@ -243,6 +243,15 @@ void matrix_scan_user(void) { } } +bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case LGUI_T(KC_SPC): + return true; + default: + return false; + } +} + uint32_t layer_state_set_user(uint32_t state) { uint8_t layer = biton32(state); uint8_t msg[RAW_EPSIZE] = {0};