Closed jin-ahn closed 1 year ago
I have a similar issue, in my case I have LSFT_T(KC_UNDS), but when I tap the shift key I have KC_MINS instead of KC_UNDS.
So, I was reading the docs and found out that you can redefine the default keys for Space Cadet and it solved my issue, this might help you too. I think Space Cadet was interfering in the usage of LSFT_T(kc) for some reason. The way I did was I added in my config.h the following line:
#define LSPO_KEYS KC_LSFT, KC_LSFT, KC_MINS
And for this to work in my keymap.c I have LSPO mapped as my Left Shift. This means that when LSPO is held down it sends KC_LSFT and when taped it sends KC_MINS with modifier KC_LSFT resulting in KC_UNDS. I can't use KC_UNDS directly as it is not a basic keycode, thus not supported - although the documentation only talks about this limitation in Mod-Tap.
For your case (and I tested here) you have to add the following line to your config.h and remap LSPO as your Left Shift:
#define LSPO_KEYS KC_LSFT, KC_TRNS, KC_TAB
HOLD-TAP keymapping does not work properly
Describe the Bug
In my keymap i have
LSFT_T(KC_TAB)
meaning I want a key to be shift if held, tab if tapped. However when I flash it the behavior is that both tapping and holding the key gives me "shift+tab"System Information
Additional Context
keymap.c (keymap with issue is layer 0)
config.h