kareltucek / firmware

This is fork of UHK's firmware featuring extended macro engine.
Other
82 stars 9 forks source link

Q: map Mod+Shift to different macro? #97

Closed laur89 closed 2 years ago

laur89 commented 2 years ago

Hi, this is more of a question than an issue. First raised it on one of UHK's threads:

Is there a way to trick keyboard to send scancode for upper-case unicode character when Shift modifier is held down?
I'm running QWERTY PC map on linux, US layout.

Trying to map some keys to type öäü via Mod layer. It works fine after defining alt-code macros. But problem is you 
can either define upper _or_ lower case combination.
Is it possible to send different macro when Mod+Shift is held down?

To which László replied your fork might fit the bill. Can you confirm that's the case?

kareltucek commented 2 years ago

Yes, it is the case.

Please search https://github.com/kareltucek/firmware/blob/master/MACRO_DOCS.md for ifShift, I am sure you will hit something in the example section.

You will just want to replace the simple write or tapKey command with either a tapKeySeq or with exec MACRONAME.

kareltucek commented 2 years ago

Closing due to lack of replies...