# Encoders and taps

> In Buttons 1.9.2 a button with a Location or numbered encoder runs its Press, Release, Single and Double actions on a tap, so one key or strip segment can be both a fader and a mute.

## A tap now works on an encoder button

From Buttons 1.9.2, a button whose encoder **Assignment** is **Location** or a fixed number (**Enc 1** to **Enc 16**) also runs its tap actions. Pressing the key, or tapping the touch strip segment, runs:

- **Press** and **Release**: each tap runs both, as on a button without an encoder.
- **Single**, or **Double** for a quick double-tap. Single is skipped when the tap turns out to be a double.

Turning the knob still runs the button's **Encoder**, **Left** and **Right** actions as before.

So one button can be a fader and a mute at the same time. On a Stream Deck Plus or Plus XL:

1. Put the button on the touch strip segment above a knob.
2. Turn on **Encoder** and set **Assignment** to **Location**, with the level action under **Encoder** (or **Left** and **Right**).
3. Add the mute or toggle action under **Press**.

The knob sets the level, and a tap on the segment above it mutes. On a Stream Deck Studio, the same works on the top-left and top-right keys.

<callout color="gray" title="Note">
  In Buttons 1.8.11 and earlier, and in 1.9.1, a button set to **Location** or a fixed encoder number ignored taps (1.8.12 fixed this for 1.8). If you moved tap actions to a separate button to work round that, you can now combine them again.
</callout>

## Click Select is unchanged

A **Click Select** button still uses its taps to claim and let go of the encoders:

- The first tap claims the encoders and runs **Press**.
- The next tap, or pushing a knob, lets go and runs **Release** and **Single**.
- **Double** doesn't run on a Click Select button, because a double-tap claims and lets go.

See [Which encoder turns which button](/docs/buttons/v1.10/positions/use-encoders#which-encoder-turns-which-button).

## Pushing a knob

Pushing a knob doesn't run a button's own actions. It lets go of a claimed **Click Select** button, or moves to the next scrolling section.

## A touch strip tap is a short gesture

The touch strip reports a tap, not a press that is held. **Press** and **Release** run together on each tap, so a strip segment can't be held down, for example for push-to-talk. Use a key for anything that must stay on while it's held.

## Smaller fixes

- **Initial value:** encoder buttons start at their **Initial** value on the surface, instead of at 0.
- **Testing in the editor:** actions you run from the position or shared section editor see the encoder selection in `$(self.encoderSelectorLabel)` and `$(self.encoderSelectorValue)`, as they do on a surface.
- **Scrolling sections:** Router Sections, and other sections inside a section, on the second or later page of an encoder-scrolled section now show and respond on surfaces. Before, only the first page worked and later pages stayed black.

For everything else about encoders, see [Control levels and choices with encoders](/docs/buttons/v1.10/positions/use-encoders).
