Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Knob interaction: a study

How should a knob on a screen be driven? This study reads egui-pop’s knob as it is today, compares it with the audio, photo and video software people already know and with the web’s knob libraries, and ends with a recommendation for the knob’s API: a drag mode the application chooses, a travel in points independent of the knob’s size, one fine modifier, the wheel, reset, typing, and an endless knob.

Read on 2026-11-11, against egui-pop’s main (crates/egui-pop-core/src/knob.rs and slider.rs).

Summary

  • Linear drag wins. Nearly every audio application and plug-in maker drives knobs by a straight drag, up for more (Ableton Live, Bitwig, Logic, Reason, Native Instruments, FabFilter, u-he, Cubase’s “Linear” mode, Arturia’s “linear” mode). Circular drag survives as an option (Cubase, Arturia, VCV Rack, JUCE, MultitrackStudio, the VST 3 host knob mode) and as the default of general-purpose toolkits (Qt’s Dial, Nexus UI), never as the only way.
  • Hybrids confuse. The places that pick the mode from where the press lands (FabFilter: the arrow turns, the centre drags; some synths: straying from vertical engages circular) draw steady complaints about falling into the wrong mode by accident. egui-pop’s knob is such a hybrid today.
  • The mode is often the host’s or the person’s choice. VST 3 has a call for the host to tell a plug-in its knob mode; Cubase, VCV Rack, MultitrackStudio and some Arturia instruments have a preference; JUCE lets the application, or the person through an optional menu, pick among circular, horizontal, vertical, and both.
  • Travel is fixed in pixels, not proportional to the knob: JUCE’s default is 250 pixels for the full range, egui-pop’s 200 points; others make it a per-control speed (VCV Rack, u-he) or a preference (Reason).
  • Shift is the fine modifier in almost every audio application (Live, Bitwig, Logic, Reason, Kontakt, FabFilter, u-he, webaudio-controls); Ctrl in FL Studio and JUCE’s velocity toggle; darktable uses Ctrl for finer and Shift for coarser.
  • The wheel is expected on hover in plug-ins (FabFilter, JUCE by default), but in a scrolling panel it hijacks the scroll: the web’s long fight with number inputs, and VCV Rack’s wheel control being a menu option.
  • Double click means reset in Live, Bitwig, darktable and egui-pop, but typing in FabFilter; Ctrl/Cmd-click or Alt/Option-click resets in Logic, Reason, Kontakt, FabFilter and FL Studio.

egui-pop’s knob today

Knob (egui_pop_core::knob) shares the slider’s terms (soft and hard range, step, unit, default, hook) and its history contract. How it is driven:

GestureToday
DragBoth axes by default (2026-11-15): right and up both add, Knob::travel points (200 by default) for the soft range, whatever the knob’s size; some people drag a knob upward, others sideways, and neither is ignored. A knob or the pointer profile can ask for vertical (the audio convention), horizontal or circular (around the centre, relative to the press). Where the press lands never changes the mode.
FineShift, or the profile’s fine modifier (Ctrl by default): ten times finer, from where it is. Coarse is never applied to a drag.
WheelThe slider’s rule: by default (the “guarded” profiles) the wheel scrolls the panel and steps the knob only when it has the focus or Alt is held over it; the darktable profile steps the knob under the pointer. One step per frame with wheel input, whatever the delta.
KeysWhen focused: arrows step, Page Up/Down ten steps, Home/End the soft ends, Enter opens the typed entry.
Double clickBack to the default.
TypingEnter on a focused knob; no pointer gesture opens it.
CursorA drag cursor; the pointer is neither hidden nor held.
AccessibilityAn AccessKit slider, with value text, range, step, increment, decrement and set-value actions.

What makes it hard to control:

  1. The rim turns. The value’s arc and the pointer line are drawn from a quarter to nine tenths of the radius, so a person aiming at the pointer, or at the arc, presses in the outer 40 % and gets the circular mode. On a 48-point dial that ring is about 9 points wide; one press lands in it, the next one not, and the same motion does two different things.
  2. Circular is hard near the centre. In the circular mode, the angle swept per point of motion grows as the pointer nears the centre, so a drag that passes close to it jumps.
  3. Shift means two things. Shift makes a drag finer, but with the default profile Shift makes the wheel and the arrows coarser (the slider’s rule: Ctrl finer, Shift coarser).
  4. The wheel does nothing by default. Over an unfocused knob the guarded profiles scroll the panel; a person who expects the wheel to turn a knob, as in every plug-in, sees nothing happen.
  5. Up only. A person who drags sideways, as on a horizontal slider, gets nothing.

What others do

A dash: the sources read do not say.

SoftwareDragFull rangeFineWheelResetTyping
Ableton Livevertical—Shift—double click, Deletetype digits on a selected control
Bitwig Studiovertical (up/down)—Shift (also pressed mid-drag)—double clickCtrl/Cmd-click
Logic Provertical—Shift (before the drag)after selecting the control, wheel or trackpadOption-click—
Cubase / Nuendopreference: Circular, Relative Circular, Linear—Shift (linear mode)———
Reasonvertical (up = clockwise)preference “Mouse Knob Range”Shift—Ctrl/Cmd-click—
FL Studio——Ctrl, or both buttons—Alt-clickright-click menu, “Type in value”
FabFiltervertical from the centre; rotational from the arrowslow motion finerShift (drag and wheel)hoverCtrl/Cmd-clickdouble click
Native Instruments (Kontakt, Massive)vertical—Shift—Ctrl/Cmd-click—
u-heverticalper-control setting (normedMouseTravel)Shift———
Arturia (V instruments)circular by default, linear as an option (some via the host)—right-click or Alt/Shift-click (x4 finer)———
JUCE Sliderapplication’s style: Rotary (circular, absolute), RotaryHorizontalDrag, RotaryVerticalDrag, RotaryHorizontalVerticalDrag (right plus up)250 px by default (setMouseDragSensitivity)velocity mode, toggled by Ctrl/Alt/Cmdon by default, 15 % of the range per unit, at least one intervaldouble click to a set value (setDoubleClickReturnValue)text box
VST 3 host knob modethe host says: kCircularMode (jump), kRelativCircularMode, kLinearMode (vertical)the plug-in’sthe plug-in’sthe plug-in’sthe plug-in’sthe plug-in’s
VCV Rack 2preference: linear, scaled linear (each with a locked cursor or not), absolute rotary, relative rotary; a module may make a knob horizontalspeed per knob—a View menu option——
MultitrackStudiopreference: Rotary or Vertical/Horizontal; touch: Horizontal/Rotating or Vertical—————
darktable (bauhaus sliders)the slider follows the drag; right-click pop-up for fine control, finer the farther the pointer is from the markerthe slider’s widthCtrl finer, Shift coarser (x10, preference)hoverdouble clickright-click, then type
Lightroom Classic (sliders)horizontalthe slider’s widthShift (reported, conflicting)reported on hover, varies by systemdouble click on the label—
DaVinci Resolve (wheels and rings)drag the ring or the puck———double click in the ring, reset buttonvalue fields under the wheel
Qt Quick DialinputMode: Circular (default, absolute), Horizontal, Vertical (relative)—none—nonenone
Nexus UI Dialinteraction: radial (default), vertical, horizontal; mode relative (default) or absolute—none—nonenone
webaudio-controlsup or right is moresensitivityShift (drag and wheel, by step)yesCtrl/Cmd-click—
jQuery Knobabsolute: the value follows the pointer’s anglethe dialnoneyesnonenone

Findings

Circular versus linear. Circular drag maps the screen to a physical gesture the mouse does not have: the hand moves the wrist in a straight line, and turning in a circle around a small target is slow and imprecise, worst near the centre, where the angle per point of motion explodes. Developers report that newcomers drag knobs up and down and that “radial is confusing”, and several moved to linear for that reason (linux-audio-dev). The DAW manuals read here (Live, Bitwig, Logic, Reason, Kontakt) document a vertical drag as the knob’s gesture. Circular keeps one strength: the travel can be set by moving farther from the knob (a longer lever, finer control), which Arturia’s old instruments and darktable’s pop-up use for fine adjustment.

Hybrids. FabFilter switches to rotation when the press lands on the knob’s arrow; users ask to turn it off, report falling into it by accident, and FabFilter’s own designer says he hardly uses it since the vertical drag gained its slow-down. Plug-ins that switch to circular when the drag strays from vertical draw the same complaint. A mode chosen from where the press lands is invisible: the person cannot tell which one they will get.

Vertical, horizontal or both. Vertical is the audio convention: a knob sits in a column of knobs on a channel strip and up reads as more. Horizontal suits rows of knobs and matches the horizontal sliders next to them (Lightroom, darktable). JUCE’s RotaryHorizontalVerticalDrag and webaudio-controls add both components (right plus up), so either gesture works and a diagonal one is faster; the cost is that a sloppy vertical drag picks up its horizontal wander (one synth’s knobs were reported to jump from exactly that).

Distance. The toolkits read here fix the travel in pixels (JUCE 250, egui-pop 200 points) or as a per-knob speed (VCV Rack, u-he’s normedMouseTravel); none ties it to the knob’s size, which would make a small knob too fast for the same motion. A fixed travel gives the same feel to every knob, small or large; 200 to 300 points is the common range, and some ranges need their own (u-he exposes it per control because one cutoff knob felt too fast).

Fine. Shift dominates the audio world; Ctrl is FL Studio’s and JUCE’s. darktable’s photo convention is the reverse pair (Ctrl finer, Shift coarser), and egui-pop’s default profile follows it for sliders. What matters most is that the modifier means the same thing for drag, wheel and arrows on one control, and that pressing it mid-drag works without a jump (Bitwig, egui-pop).

Wheel. Plug-in users expect the wheel to turn the knob under the pointer (FabFilter, JUCE on by default). In a scrolling panel that steals the scroll: the web’s number inputs are the long-running example, with users changing values by accident while scrolling and browsers backing the behaviour out. Hover-to-adjust is safe in a fixed layout (a plug-in window, a HUD over an image) and unsafe in a scrolling form. JUCE’s step is a fraction of the range per wheel unit, never less than one interval; webaudio-controls steps by step, and so does egui-pop. A touchpad sends a stream of small deltas: stepping once per frame regardless of size makes a fast swipe and a slow one equal.

Reset and typing. Double click to reset is the most common binding (Live, Bitwig, darktable, JUCE); Ctrl/Cmd-click (Reason, Kontakt, FabFilter, webaudio-controls) and Alt/Option-click (Logic, FL Studio) are the alternatives. Typing is reached by double click (FabFilter), Ctrl/Cmd-click (Bitwig), right-click (FL Studio, darktable) or a focused control and digits (Live).

Cursor. JUCE hides the pointer and lets it move without bound in its velocity mode, VCV Rack offers a “locked cursor” mode, and the browser’s Pointer Lock API exists for the same reason: a long vertical drag otherwise stops at the screen’s edge, and a knob near the top of the screen has little room above it.

Endless knobs. A value that wraps (an angle, a hue) or has no bounds has no arc ends to show; it is driven by relative motion, and the hardware analogue (an encoder, the Surface Dial’s rotation delta) sends increments, not positions. JUCE’s stopAtEnd(false) and Qt’s wrapping make a dial wrap.

Touch and pen. Touch prefers a single axis that does not fight the panel’s scroll: MultitrackStudio’s touch mode notes that a vertical knob stops vertical scrolling of the mixer, and offers horizontal or rotating instead. A pen behaves as a mouse but cannot be hidden and warped back on every platform.

Keyboard and screen readers. The WAI-ARIA slider pattern applies to a knob as is: role slider, value, minimum, maximum, value text; arrows step, Page Up/Down take a larger step, Home/End go to the ends. egui-pop already does this.

Recommendation

The owner’s view, that a knob is driven by the wheel or by a vertical or a horizontal drag at the application’s choice, is what the evidence supports, with two additions: offer both axes at once as an option, and keep circular as an option rather than as a zone of the knob.

/// How a drag turns a knob.
pub enum KnobDrag {
    /// Up is more (the audio convention). The default.
    Vertical,
    /// Right is more.
    Horizontal,
    /// Right and up both add (JUCE's horizontal-vertical drag).
    Both,
    /// Around the centre, relative to the press: never a jump.
    Circular,
}
  • One drag mode per knob, never chosen by where the press lands. Knob::drag(KnobDrag) sets it for one knob; the pointer profile gives the default for all (options.knob_drag, vertical in every built-in profile), so an application, or the person in its settings, sets it once. The hybrid centre/rim zones go.
  • Travel in points, not a fraction of the size. Keep Knob::travel(points) for the soft range, 200 by default; the same travel for every axis, Both included. A per-profile multiplier (a “knob speed” setting) scales it for all knobs.
  • One fine modifier, the same for drag, wheel and arrows: the profile’s gesture.value.fine. The knob drops its hard-coded Shift. Audio-minded profiles bind Shift; the default and darktable profiles keep Ctrl finer and Shift coarser. Pressed mid-drag, it takes effect from where the value is, as today.
  • Wheel. Keep the profile’s rule (guarded or on values), and add a per-knob Knob::wheel(KnobWheel::Hover) for knobs in places that do not scroll (a HUD over an image, a fixed plug-in strip), where hover is safe and expected. The step stays the knob’s step, scaled by the modifiers; a touchpad’s stream accumulates its delta into steps instead of one step per frame.
  • Double click resets to the default, as today; Ctrl/Cmd-click as an optional reset binding in the profiles that copy applications using it.
  • Typing: keep Enter on a focused knob, and add a pointer way in: a right-click menu entry “Type a value”, or the profile’s binding.
  • Long drags: hide the pointer during a drag and put it back where the drag started at its end, where the platform allows it (egui’s ViewportCommand::CursorGrab and CursorVisible), so the travel never meets the screen’s edge. Opt-in at first.
  • Endless knob: a face with no arc ends (ticks that turn with the value), driven by the same KnobDrag, reporting relative nudges (Change deltas) rather than positions; a wrapping value wraps instead of clamping.
  • Touch: Horizontal is the better default under a finger in a vertically scrolling panel; the profile for touch says so.
  • Keys and accessibility: unchanged.

Where the evidence differs from the owner’s view: toolkits that serve everyone (Qt, Nexus UI, jQuery Knob) default to circular, and some plug-ins keep it for its lever effect (farther is finer). The recommendation keeps Circular as a choice, relative to the press so it never jumps, and does not make it the default. The audio world also expects the wheel on hover, which egui-pop’s guarded profiles refuse over scrolling panels: the per-knob hover wheel answers it where it is safe.

Sources

DAWs and plug-ins:

Frameworks:

Photo and video:

Web libraries:

Usability, accessibility and the platform: