Finding the right 'enc' (MIDI binding)

Still playing with bindings in the midi maps.

CC 60 (0x3c) sends “0x01” when turned right, and “0x41” when turned left. If I understand the docs correctly, this is a typical enc-r encoder (The Ardour Manual - Generic MIDI and Encoders).

However, when I bind it:

<Binding channel="1" enc-r="60"  uri="/route/pandirection S1"/>

the following happens:

  • when the panner is between 50 and 100 (i.e., right) turning the dial moves it left and right as expected.
  • when the panner is between 0 and 50 (i.e., left) turning left still works, but turning right has no effect.

Using any of the other encoders only make it worse.
Any ideas how this should work?