Please include OPTION key for Mac as well.
Ok. As current workaround for MacOS please use XRUN with the free cliclick tool.
Cliclick Example:
kp: spacewill press the command key and the option key (and will keep them down until you release them with another command)kd:cmd,altwill press the command key and the option key (and will keep them down until you release them with another command)