Bitfocus AS
Bitfocus AS

Loading...

Footer

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers
Co-funded by the European Union

Our Bitfocus Workflow 2.0 project is co-funded by the European Union’s Creative Europe programme. About the project

© 2026 Bitfocus AS. All rights reserved.

Encoders
Docs for
Overview
Getting started
What is Bitfocus Buttons?
Install Buttons and get started
Manage your Buttons license
Activate Buttons offline
Find your way around Buttons
Create your first backup
Add an ATEM connection
Choose a control method
Choose an installation path
Install Buttons on Debian or Ubuntu
Understand HA clustering
High Availability
Upgrade Buttons
Remove Buttons
Positions
Understand positions
Encoders and taps
Create a position
Custom button layouts
Add controls and sections to a position
Feedback variables with text
Create your first button
Use a connection's presets
Build more capable button actions
Encoders
Add more feedback to a button
Organize controls in a section
Shift Section
Organize controls with a Folder Section
Add a Popover Section
Build and reuse a Shared Section
Show different controls by role
Choose a routing panel
Build a Router Section
Understand Custom Routers
Custom Router panel
Surfaces
Surface compatibility
Add and attach a surface
Device orientation
Connections
Update a connection's module safely
Monitor and troubleshoot a connection
Port forwarding (HA)
Router integrations
VideoHub and AJA KUMO
Utah Scientific BPS
Generic SW-P-08
Nevion VideoIPath
Arkona BLADE//runner
Evertz Quartz
Imagine LRC
Riedel MediorNet
Nevion MRP
Ross Video NK router
TAG Video Systems MCS
Routing
Physical routing
Shape direction
Configure ports and labels
Take a physical route
Understand route status
Topology graph
Routing Presets
Get started with virtual routing
Configure Nested Shapes
Reverse routing
Tielines
Routing Projects
Routing settings
Troubleshoot a route
Tally
Understand the Tally system
Send ATEM tally and labels to a UMD
Interpret Active Tally state
TSL/UMD connections
Diagnose tally problems
NMOS
Understand NMOS in Buttons
Connect Buttons to an NMOS Registry
Built-in Registry Server
Configure NMOS connections
Discover and adopt
MXL routing
Browse the NMOS inventory
Manage NMOS multicast addresses
Diagnose NMOS problems
Cuelists
Understand Cuelists
Run and stop cues
Build a Cuelist
Cuelist state
Read and advance a running Cuelist
Control a Cuelist from a Position
Workflows
Understand workflows
Build your first workflow
Encoders
Reuse a group of workflow nodes safely
Port forwarding (HA)
Troubleshoot a workflow
Recipes
Sequence a timed automation
Call an HTTP endpoint from a workflow
REST endpoint
Use variables
Understand variable scope
Understand nested variables
Update expressions for v1.8
Plan and use Tags
Access
Create and manage users
Create roles and assign permissions
Grant access to specific resources
Set up PIN and NFC sign-in
SSO
Get started with SSO
Connect a generic OIDC provider
Connect LDAP or Active Directory
Map identity claims to roles
Secure a Buttons deployment
Integrations
External control
Connect to Bitfocus Listener
USB Relay
Install USB Relay on Windows
Install USB Relay on macOS
Desktop app
Install USB Relay on Linux
Install USB Relay on a Raspberry Pi
Get started with the Control API
Secure and monitor the Control API
Control API reference
AI assistants (MCP)
Connect an AI assistant
Edit with an assistant in the editor
What an assistant can do
Manage MCP access and tokens
Actions
HTTP replies
Administration
Enable and manage installable features
Audit Logs
Services and health
Configure and monitor scheduled backups
Restore a backup and verify it
Export or import Buttons configuration
Store and rotate connection secrets
Replace the HTTPS certificate
HA backup and recovery
Settings
Collect support information
Reference
Glossary
Button Inspector reference
Network ports reference
Expressions
Internal actions reference
Custom Router button types
Startup configuration reference
Workflow nodes
Connection workflow nodes
Workflow variable and action nodes
Internal workflow nodes
Position workflow nodes
API workflow nodes
Utility workflow nodes

Loading...

Previous
← Build more capable button actions
Next
Add more feedback to a button →
Contact support →
Buttons/Positions/Encoders

Encoders

View as Markdown
An encoder is a knob that turns endlessly in both directions. Buttons uses encoders for anything that's a level or a position rather than an on/off press: a microphone fader, a pan, a camera's iris, or a choice from a long list such as the source on a monitor output.
An encoder never has actions of its own. It always works through a button: the button holds the actions, and an encoder turns that button. This page explains how a turn reaches a button, the two ways a button can react to it, and how to build the setups operators ask for most.

Before you begin#

  • A surface with encoders, attached to the position. The table below lists them.
  • A button to control, see Create your first button.
Surface
Encoders
Where they are
Stream Deck Studio
2, each with a ring of 24 LEDs
One at each end of the key rows
Stream Deck Plus
4
Under the touch strip
Stream Deck Plus XL
6
Under the touch strip
Galleon K100 SD
2
Above the keys

Choose how the button reacts to a turn#

A button reacts to turns through two kinds of action handler, added from Add Action Handler on its Actions tab. Choosing between them is the most important decision on this page.
Handler
Value change (Encoder)
Left and Right
What a turn does
Moves a number that Buttons keeps for the button, between a Min and a Max, and sends the new number to the actions
Runs the Left actions once per click to the left, and the Right actions once per click to the right
What the action receives
The number, as Encoder Value or $(self.encoderValue)
Nothing: each action carries its own fixed step
Typical actions
"Set" actions: set fader gain, set pan, set iris
"Adjust" or "Increment" actions: adjust fader gain by 1 dB, increment iris
Use it when
Buttons is the only place the value is changed
The value can also change somewhere else: on the console, on the camera, or from another panel
The difference matters because Buttons doesn't read the device's value back into the encoder. An Encoder button counts from its own number. It starts at Initial, and every turn moves it from wherever the encoder last left it. If an engineer moves the same fader on the console, the encoder doesn't know. The next click sends Buttons' number, and the level jumps back.
Left and Right don't have that problem. An "Adjust" or "Increment" action works from the device's current value, so the level always moves on from where it actually is.
A button can have both, and it can keep tap and press handlers too:
  • Value change, Left and Right run when the encoder that reaches this button turns.
  • Encoder press and Encoder release run when the operator pushes that encoder. Pushing an encoder never runs Press or Release.
  • Touch tap runs when the operator taps the touch-strip segment for this button. A tap can also run Press and Release when Trigger press + release on touch tap events is on in Settings → General. New installations leave that off; upgraded installations leave it on. Touch tap actions run either way.
So one button can be a fader and a mute: the encoder sets the level, and a tap or an encoder push mutes. See Encoders, encoder press and touch tap.

Set up a Value change handler#

When you turn on Value change (labelled Encoder in older screenshots), its settings appear above its actions:
Setting
What it does
Initial
The value the button starts at.
Min, Max
The range. Turning past either end keeps the value at that end.
Current
The value used when you run one of the button's actions from the editor.
Override
How this button meets the surface's encoder modes: no override, pin to one encoder, or (legacy) Location. See Which encoder turns which button.
Display
How the LED ring shows the value on a Stream Deck Studio. See Show the value.
Active Style
How the button looks while an encoder is driving it. Highlight (the default) draws an outline in the button's Encoder Color. Ignore leaves the button unchanged. Value on white background replaces the button's design with the value in large text on white, with the button's text above it.
Each click of the encoder moves the value by 1. A quick turn sends several clicks at once, so the value moves faster. The value is always a whole number. If a device expects something else, such as 0–1 or 0–255, scale it in the action, as in the examples below.
To send the value to an action, select the encoder button next to a field that offers it, and the field shows Encoder Value. For a value that needs scaling, switch the field to expression mode and use $(self.encoderValue) in a calculation.
Each step of a button has its own value. A button with two steps can hold two different levels.

Which encoder turns which button#

Each encoder on a surface has a mode, set on the surface under Encoder modes. That mode decides what the encoder drives. A button can then override those modes so one encoder is pinned to it.
Turn encoders on for the button in the inspector. Read the value as $(self.encoderValue), and add Value change, Left, Right, Encoder press or Encoder release under Actions.

Surface encoder modes#

Open the surface and set Encoder modes. Each encoder has one of:
Mode
What it drives
Location
The element on the strip segment (or encoder cell) above the encoder.
Selection, else location
The selected element, otherwise the element on the strip segment above the encoder. Default for surfaces whose encoders sit under a strip.
Selection
The element selected by pressing or tapping it.
Selection, else scroll
The selected element, otherwise the nearest scrollable layer. Default for unpaired encoders.
Scroll
Only scrollable layers. A push moves to the next layer.
Pressing or tapping a button selects it for encoders whose mode follows selection. An element with an override is not selected by pressing it.

Button override#

On the button, the override is:
  • No override (the usual case). Encoders reach this button by their surface modes. A short press selects (latches) the element.
  • Pinned to one encoder, labelled {surface}: Encoder {n} or Encoder {n} on the position. That encoder always turns this button, wherever the button is placed.
  • Location (legacy). Element-level Location is retired. The choice appears only while a button still uses it. Prefer a surface Location or Selection, else location mode, or pin an encoder.
Older screenshots still show Assignment as Location, Click Select or Enc 1–16. In 1.10 those jobs are surface encoder modes plus an optional pin.

When nothing claims an encoder#

An encoder whose mode includes scroll, and that no button is using, scrolls the sections that have scrolling turned on. Push the knob to move to the next scrolling section. See Organize controls in a section.
A pinned encoder wins over surface modes. Location (legacy) on an element still wins over selection for that encoder.

Show the value#

On a Stream Deck Studio ring. Display sets how the 24 LEDs show the value:
Display
The ring shows
Good for
Single
One lit LED at the value
Choosing from a list
Start
A bar that grows from the low end
Levels: faders, gain, iris
End
A bar that grows from the high end
Values that read downward, such as attenuation
Split
A bar from the middle out to the value
Pan, balance, anything centred on zero
The ring is clearest with 24 steps or fewer between Min and Max, where every step has its own LED. With more steps, a single LED goes round the ring and wraps every 24 clicks. To keep the ring readable, use fewer, bigger steps and scale them in the action. The ring takes its color from the button's Encoder Color style, the same color as the encoder outline.
On a Stream Deck Plus or Plus XL, which have no rings, Encoder Color only sets the color of that outline.
On the button. Every surface can show the value on the button itself. The quick way is Active Style Value on white background: it needs no design work, but it replaces the button's own look, and it shows all the time while an encoder is driving that button. For a finished panel, put $(self.encoderValue) in the button's text instead, such as $(self.encoderValue) dB on the second line, and leave Active Style on Highlight or Ignore. Use the button for surfaces without rings, and whenever the operator needs the number rather than a bar.

Real-world examples#

The examples use an ATEM with Fairlight audio, but the pattern is the same for any connection with "set" and "adjust" actions: audio consoles, vision mixers, cameras and media servers.

Commentary mic levels on a Stream Deck Plus#

Four commentators, four mic faders, one knob each, and no tapping needed.
  1. Put four buttons in the touch-strip row, named Comm 1 to Comm 4.
  2. On each button, turn on Encoder and set Initial -20, Min -60, Max 10. Leave the override at No override. On the Stream Deck Plus, keep encoder modes at Selection, else location (or Location) so each knob turns the strip segment above it.
  3. Add Fairlight Audio: Set fader gain for that commentator's input, and set Fader Level to Encoder Value. Match Source to the input: the mic inputs on an ATEM Mini are mono, so choose Mono (Ch1) rather than Stereo.
  4. Put $(self.encoderValue) dB on the second line of each button's text, so the strip shows the level above each knob.
Each knob now always controls the fader above it, 1 dB per click. Use this when nobody else touches these faders. If the sound engineer also rides them on the console, use the Left and Right version below instead.
The same button works on a Stream Deck Studio in the top-left or top-right key. With 70 steps from -60 to 10, its ring shows a single LED going round rather than a bar, so the level on the button is what the operator reads.

Ride a level that is also changed on the console#

A producer's panel trims the presenter mic, but the audio desk works on the same channel.
  1. On the Presenter button, turn on Right and add Fairlight Audio: Adjust fader gain with Delta 1.
  2. Turn on Left and add the same action with Delta -1.
Every click moves the fader 1 dB from wherever it really is, so the producer and the desk never fight each other. To show the level, add the connection's variable for that fader to the button's text, if it has one. The variable comes from the mixer, so it stays right whoever moved the fader.

Pan with a centred ring#

  1. Turn on Encoder and set Initial 0, Min -10, Max 10, and Display to Split.
  2. Add Fairlight Audio: Set input pan and set Pan to the expression $(self.encoderValue) * 10.
Twenty-one steps fit on the ring, the centre LED is dead centre, and each click moves the pan by 10 across its -100 to 100 range.

Iris for a shader on a Stream Deck Studio#

A shader runs four cameras from one Stream Deck Studio. There's one button per camera, and either encoder irises whichever camera is selected.
  1. Make one button per camera: Cam 1 to Cam 4.
  2. On each, turn on Right with Camera Control: Increment Iris for that camera and Value 0.5, and Left with the same action and Value -0.5.
  3. Leave the override at No override, and use encoder modes that follow Selection.
The shader taps Cam 2, and both encoders iris camera 2. Tapping Cam 3 moves them to camera 3. Iris is a typical relative control: auto iris or someone at the camera can change it, so Left and Right keep the shader working from the real aperture.
To set the iris absolutely instead, use Encoder with Min 0 and Max 20, Display set to Start, and Camera Control: Iris with Normalised on and the value $(self.encoderValue) / 20. That gives 21 steps from closed to open.

Turn through sources with an Encoder Selector#

A floor manager's monitor is fed from an aux output, and they want to dial through cameras on it.
  1. Make a Floor monitor button, turn on Encoder, and add Aux/Output: Set source for that aux.
  2. On the Input field, open the ... menu and select Create Encoder Selector from choices.
The encoder now steps through the inputs instead of counting numbers. Initial, Min and Max disappear, because the range is the list itself.
Select Customize Encoder Selector to shape the list. In All Available Data, select the eye next to an entry to leave it out, such as Program and Preview on a floor monitor:
In Generated Values, type a shorter name in an entry's Label column:
Put $(self.encoderSelectorLabel) in the button's text to show the selected source, and use Single display for one LED per source:
Every click switches the output straight away, passing through each source in between. Use an Encoder Selector for outputs where that's fine, such as monitors, multiviewer windows or clip selection, and not for a program bus.

A fixed master knob#

On a two-Studio position, the right encoder of the top unit is always the programme master, wherever the master button is placed.
  1. Make a Master button, turn on Encoder, and pin the override to the top unit's right encoder.
  2. Add Fairlight Audio: Set master gain with the gain set to Encoder Value.
That encoder stays the master even while other encoders follow selection.

If you get stuck#

What you see
What to try
Turning the encoder does nothing.
If the encoder mode follows Selection, press or tap the button first. Check that another button is not pinned to that encoder. For strip-segment control, put the button on the segment and use Location or Selection, else location.
The level jumps when you start turning.
The value was changed somewhere else since the encoder last moved it. Buttons counts from its own value. Use Left and Right with an "Adjust" action instead.
A red warning sign appears on the button after a turn.
The action failed. Run it from the editor with the lightning button next to it to see the error, such as an ATEM input that has no Stereo source.
The value stops at the ends.
Expected: it stays between Min and Max. Widen the range, or scale it in the action.
The ring shows only a single LED going round.
The range has more than 24 steps. Use fewer steps and scale them in the action.
The device gets a value outside the range it expects.
Scale it in the action, such as $(self.encoderValue) / 20 for a 0–1 value.
The encoder scrolls a section instead of turning the button.
No button holds that encoder. Select a button, pin an encoder, or change the encoder mode away from Scroll.
An Encoder Selector sweeps the program bus through every source.
Expected: each click runs the action. Use the selector on a monitor or preview output, not on program.

Where to go next#

  • Build more capable button actions, for steps, hold and click patterns, and repeaters.
  • Control a workflow with an encoder, to set or step a workflow variable or trigger a workflow's actions from an encoder.
  • Organize controls in a section, for scrolling sections with encoders.
  • Set device orientation, when a surface with encoders is mounted rotated.
  • Button Inspector reference, for Encoder Color and the other styles.

Was this helpful?

Was this helpful?

0 of 0 users found this page helpful