Allow to add a button on TouchBar with all modifier keys support


This is my custom TouchBar layout:

Now what I would really like to achieve is to allow F1-F10 keys to support all possible modifiers. F.ex. pressing Command+(F6 from touchbar) should really emulate Command+F6 combination.

I know how to do it by multiplicating config (I have done it for Shift modifier so far):

but I'm looking for some smarter way.