Set L/R locators (cycle range) with HW controller?

Hi, dreaming of being able to set L/R locators with a rotarty controller, one for L and one for R. I sort of got this to work with my AKAI MPD32 controller(cc rotary) but it is really not working great. Feels I have the wrong setup for this. are the transport commands CycleTimeL and Cycle TimeR in the generic remote device not suited for a normal midi CC operation?

How does this stuff work for you guys and what tech do you need. I´m lousy at the various controller languages.

Thanks a lot,

Claes