You may be able to find a topic with more relevant detail by using the forum search tool.
Somebody may have a link to a good and useful article about this.
The tablet tester says that the stylus top button is B=2 but I’ve no idea how/why/where this gets translated into a right-click.
The buttons give binary bit values, 1, 2, 4, etc and if you press more than one button then they get added together so it looks like they’re setting bits in a driver interface.
From what little I’ve read about it, which I quickly ran away from, you need to do some knowledgeable editing of config files somewhere.
If you do find out, please write a Tutorial topic for it because I use the MATE desktop too