Thank you for the suggestion! I use a HUION tablet, and it has a rather limited config, unfortunately. I'll take a look at X-Mouse though, it seems promising. Ideally, I'd just like to change the keybinding from ALT+RMB to CTRL+ALT+LMB or smth like that. I usually draw with the left hand on keyboard and the right hand on a pencil, completely ignoring the mouse. So any action that requires RMB is painful.