diff --git a/plugin.json b/plugin.json index 6980f02..f89ef3e 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "slug": "computerscare", - "version": "2.1.7", + "version": "2.1.8", "name": "computerscare", "brand": "computerscare", "author": "computerscare", diff --git a/src/ComputerscareTolyPools-v2.cpp b/src/ComputerscareTolyPools-v2.cpp index d52037c..74f2813 100644 --- a/src/ComputerscareTolyPools-v2.cpp +++ b/src/ComputerscareTolyPools-v2.cpp @@ -170,7 +170,16 @@ struct PoolsSmallDisplayV2 : SmallLetterDisplay } else if (type == 1) { - value = std::to_string(module->rotation); + + //keep the displayed knob value between -15 and +15 + int rotationDisplay = 0; + if(module->rotation > 0) { + rotationDisplay = module->rotation % 16; + } else if(module->rotation < 0) { + rotationDisplay = -1*( (-1* module->rotation)%16); + } + + value = std::to_string(rotationDisplay); } else if (type == 2) { value = std::to_string(module->numInputChannels);