I didn’t know you could use tablets as a mouse, very interesting
This can be done by a script automatically executed at power-on, which may also choose how the buttons should behave, if you do not like the defaults.
For instance, for my Wacom stylus I set the tip to be left click, the first button to be right click and the second button to be double left click. Actually doing double click with the stylus buttons is more inconvenient, so it is more comfortable to map the single click on some button as a double click.
My kids even prefer that with a big (and pretty old) wacom tablet.
(P.S.: I apologize for other unanswered comments in the thread; I can't reply anymore because of how many days have passed since.)