jmamma / MCL

MCL firmware for the MegaCommand MIDI Controller.
BSD 2-Clause "Simplified" License
48 stars 9 forks source link

How to invert rotation direction of encoders? #188

Closed ctag-fh-kiel closed 1 month ago

ctag-fh-kiel commented 2 months ago

How to invert rotation direction of encoders?

ctag-fh-kiel commented 2 months ago

Changed line 92 of Encoders.cpp to return -inc; // simply negate inc for inversion of rotation direction for encoders.

Works for me :)

jmamma commented 2 months ago

nice work, what are you hacking together 🙃 ?

ctag-fh-kiel commented 2 months ago

Just the hardware controller, the encoders I have generate inverted pulses, had to fix that. One could possibly move this to the boot menu, where one could soft configure encoder rotation?

ctag-fh-kiel commented 1 month ago

I have published a .hex firmware file of 4.51 with inverted rotation direction here: https://github.com/ctag-fh-kiel/MCL/releases/tag/4.51-inverted-encoder-rotation