Hi Jo,
I think that the Super_L button is the same is the meta key? So then `KEY_LEFTMETA` or `KEY_RIGHTMETA` should do the trick for that part...
For a list of possible key codes you can check this link. It might help finding the right key codes :) https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
As far as I could find you cannot setup commands like `wmctrl -a Slack`. Part 2 of this page shows the type of commands that logiops provides which doesn't seem to include commands. https://wiki.archlinux.org/title/Logitech_MX_Master
Good luck!