QMK does have this, unless I’ve misunderstood your use case. My QMK keyboard has CAPS mapped to ESC when tapped, CTRL when pressed with other keys. In my keymap.c file, I’ve put my caps key as just:
MT(MOD_LCTL, KC_ESC)
I ended up putting arrow keys in my 60%, which shifted the layout (PCB limitations) to where I ended up having to sacrifice my / and ? for a shift key (to fit the empty space). So I ended up having to do something similar. Holding it down and pressing other keys makes it function as a shift. Clicking it by itself yields a period, and clicking it by itself with the other shift does a question mark. QMK is freaking awesome.
RSFT_T(KC_SLSH)
Oh! Good to know! And your use-case is exactly what I'm using Karabiner for.
Oh yeah I couldn't make it work with letters. Rather I added tap behavior to modifiers. In QMK my command keys are Esc and Enter when tapped, shifts are parentheses (like the space cadet keyboard), controls (outside of A and ;) are single and double quote, Options are braces, and hypers are angle brackets (which I should probably change to brackets since I don't really write JSX/TSX/HTML much any more)
Instead, I map a key to one thing when pressed alone and another when pressed with other keys. Works so much better. I can't live without this now. I really wish QMK had this functionality, but I think it's only available in Karabiner.