On Linux you can intercept mouse clicks. The coordinates as well as the button number are reported. See example-interactive.cc for an example.
example-interactive.cc
There was an error while loading. Please reload this page.