Rotate knobs 90 degrees

Hello!

I was wondering if it was possible to rotate the knob indicators of the default knobs 90 degrees when they draw.

Thanks!

Rick

Figured it out!

Inside the constructor for my ModuleWidget call:

  ((Knob*)getParam(ONEPARAM_PARAM))->minAngle = -0.75 * M_PI - M_PI/2.0;
  ((Knob*)getParam(ONEPARAM_PARAM))->maxAngle =  0.75 * M_PI - M_PI/2.0;
3 Likes