Here’s how I have my trackball configured:
xinput set-prop "Logitech USB Receiver" "libinput Scroll Method Enabled" 0, 0, 1 # Enable button for scrolling
xinput set-prop "Logitech USB Receiver" "libinput Button Scrolling Button" 10 # "Lock" button
xinput set-prop "Logitech USB Receiver" "libinput Button Scrolling Button Lock Enabled" 1 # Toggle instead of hold
xinput set-prop "Logitech USB Receiver" "libinput Horizontal Scroll Enabled" 0
I have this in my .profile (.xprofile probably works as well).
It should be possible to do something similar with your tablet.