Closed riban-bw closed 2 years ago
Sorry @riban-bw !!
I can't reproduce this issue. It works like a charm for me. I've a v4 over my desk. Could you send the log?
Thanks!
This is a V3. What log would you like to see. It is immediatly obvious if you run with a debugger and set breakpoints after each if lib_zyncore.get_value_flag_zynpot
call within zyncoder_read
function.
OK! I see. But it's only in the mixer, so it doesn't seem a problem with the zyncoder library. Let me do some research ...
Solved!
Describe the bug Each time an encoder is rotated there are events triggered for all encoders, not just the adjusted one.
To Reproduce Steps to reproduce the behavior:
Expected behaviour Select encoder action occurs.
Actual behaviour Select encoder action occurs and also each other encoder.
Setup:
Additional context Detected during debugging. Adding breakpoints after each
lib_zyncore.get_value_flag_zynpot
call shows that this returns true for all encoders after any have changed state. This is a screenshot of my GPI config: