How to set up macros like these

How can i set up macro like in this video where Junkie XL shows how he uses his touch screen:

These are makros combined with project logical editor presets.

To set this up, open the key command window. There you have the “show makros” button in the bottom. PLE presets can be selected from the key command list.