Not sure how many people still use Mac OS X Mavericks, but anyway. I had just had the issue that the right-click had stopped working, on the mouse as well as the trackpad. There are many posts on the subject, so it seems a not too uncommon problem. The one that helped me suggested to simply turn the mouse off and on. Strangely enough, this fixed it for both, mouse and trackpad. Thanks!