It's worth every penny! I tried first deleting the key shortcut for the eraser and deleting the assigned functions in the XP-Pen panel and did nothing. The eraser was activated on lifting the pen from the screen.
Using an XP-Pen Artist22 Pro on windows 10, same issue here. When the pen goes out of focus (it separates a little bit from the screen) the eraser tool is selected. It's very very annoying. I love the software, but I don't think I can continue to use it with this issue. Edit: I disabled Windows Ink following this and seems to be working for me. Please, If this is solved say something so I can enable Windows Ink again. Thanks