How to TURN OFF long press = right click on graphic tablet?

Problem:
I have a drawing game and when a user places the pen on the tablet, the driver (wintab) triggers this long-press and blocks input processing for the first third of a centimeter, which greatly interferes with drawing small details.

For example, in Photoshop there is no such problem at all, but I understand this is fixed at a very deep level.
In Paint, long-press processing is triggered, but it doesn’t block drawing.

Is there any ready-made solution to this problem, or something that doesn’t require diving into C# and writing a script that would intercept control from the system driver?

You can change the driver to winink or something else in project settings