Mapping multiple modifiers (combo) to one key

(Jan Warchoł) #1

I’m curious whether it’s possible to map one key to a combination of keys. For example, to make my left palm key behave as if I pressed ctrl and shift simultaneously.

Has anyone done this? Can it be achieved with current firmware, and how? My naive attempt at Key_LeftShift+Key_LeftControl produced error: no match for 'operator+'

(James Cash) #2

You can do that specifically for modifiers, using the LCTRL, LSHIFT, etc macros (see here for the definitions). So, you could have LCTRL(LSHIFT(Key_LeftAlt)) and it would be like pressing Control+Shift+Alt.

(Jan Warchoł) #3

Awesome! Thank you very much!