qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.24k stars 39.3k forks source link

Mod Tap with one shot modifiert? #1482

Closed jansorg closed 6 years ago

jansorg commented 7 years ago

Thank you for this wonderful project!

I tried to combine a mod tap with a one shot modifier, like MT(MOD_LALT, OSM(MOD_RALT)), this didn't work on my Ergodox EZ.

I'd like to get a key which send left-alt when I hold it and a one shot right-alt when I just press it once. This would be wonderful for the ergodox with a US INTL layout (right alt + a prints a "a umlaut", for example).

If there is a better place to ask this then I'm sorry for posting here.

fredizzimo commented 7 years ago

Yes this is the right place.

Unfortunately, it's not possible to combine those modifiers at the moment. I can see how it would be useful though, so that's probably something we should work on supporting in the future.

I also don't think it's possible to activate those programmatically, otherwise you could probable implement that with process_record_user, see this. It's still probably possible to do it that way, but you have to do everything manually.

jansorg commented 7 years ago

@fredizzimo Thanks! I'm probably not able to write this from scratch, maybe I'll try to use process_record_user at some time. I'm a very happy user of qmk, finally I have (almost) all the shortcuts I want in hardware :)

danielo515 commented 6 years ago

Hello @fredizzimo

Unfortunately, it's not possible to combine those modifiers at the moment.

It's not possible because he is using left and right modifiers or because it's not possible to use MT along with OSM? I'm currently interested in combining MT with OSL

drashna commented 6 years ago

Not possible because the macro can't handle the special codes, IIRC.

Also, closing. If needed, reopen or open new issue.