Hello Hans
I am myself working on a ctrl driver for Novation LaunchPAD MK3 and I had similar problems
(great)Thanks to @riban .
I think you need to use a threading system for you pots emulation , otherwise no other task can perform
You can check my post called Autorepeat CUIA in a ctrl driver (work in progress) - #19 by riban
Hope it can help
Regards
Alain