omriharel / deej

Set app volumes with real sliders! deej is an Arduino & Go project to let you build your own hardware mixer for Windows and Linux
https://deej.rocks
MIT License
4.71k stars 433 forks source link

Invert only specific slider(s) #101

Closed satsukiyatoshi closed 4 months ago

satsukiyatoshi commented 5 months ago

Hello. 1-Thanks a lot for this projet and sharing it for free 2-Thanks again 3-i've build my first one today but a inverted 3 of my 7 sliders, i've seen in the yaml that it's possible to invert all sliders, is there any way to invert only some specific slider?

Thanks ^^

omriharel commented 4 months ago

Hello @satsukiyatoshi, thanks for writing and for the kind words.

Inverting a single/specific sliders isn't possible by means of changing the configuration, but you can change the Arduino sketch to flip the values of specific sliders by substracting 1023 - value for the specific value(s) that need to be flipped. The best way to deal with this is of course to flip the GND and VCC pins on the miswired potentiometers and to make sure they're identical on all pots - rather than making a code change.

Good luck!