I have a Logitech 502 gaming mouse. I use ratbag-command to configure it. I haven't been able to get the piper gui frontend to work with it because of a python error. The man page for ratbag-command is woefully inadequate and figuring out exact command syntax has been mostly trial and error. However, the syntax for macros has me completely stumped.
Does anyone have any working examples of ratbag-command macro syntax? The following is an example of what I have tried that hasn't worked. The man page does mention using +KEY_[key] for a key down action.
I have no idea whether I should be putting commas between the commands, or semi-colons, or how quotes should be used, or whether the macro can link to a script, or any of that stuff, and as I said, I've been completely unable to find any examples or documentation on it, anywhere.
Does anyone have any working examples of ratbag-command macro syntax? The following is an example of what I have tried that hasn't worked. The man page does mention using +KEY_[key] for a key down action.
Code:
ratbag-command profile 1 button 9 action set macro '+KEY_LEFTCTRL KEY_S -KEY_LEFTCTRL' /dev/input/event2
I have no idea whether I should be putting commas between the commands, or semi-colons, or how quotes should be used, or whether the macro can link to a script, or any of that stuff, and as I said, I've been completely unable to find any examples or documentation on it, anywhere.