Right
williamcopper
I think I must have gotten sonar into an unstable state somehow, that problem went away by itself.
If so, nothing like that has ever been reported before. AFAIK what associates a gesture with a particular mouse button is a Windows function.
In other words, I think it is
extremely unlikely what you experienced has anything to do with SONAR, regardless of whatever you may have done within the program. As a result you will probably run into this issue again, possibly with SONAR or possibly another program. If the right and left buttons didn't become reversed within Windows, then I would check whether your mouse is performing up to spec.
Also be aware that some mice have applets that have their own preferences and that could be a problem. For example if you have a Logitech mouse, look whether an applet is present and if so, click on "restore defaults."