Hanvon tablet, Win 10 and RawTherapee

I have a Hanvon AM3M graphics tablet. The problem is that pen input is not working at all current RawTherapee Windows versions. The last version working normally is 5.0-r1. There are no issues with Linux on the same PC. Is it possible to get the pen input working?

Possibly or probably related: Interface trouble when using pen input · Issue #5128 · Beep6581/RawTherapee · GitHub