> For the complete documentation index, see [llms.txt](https://docs.sevenpens.com/drawtab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sevenpens.com/drawtab/guides/pens/pen-buttons.md).

# Pen buttons

## Number of buttons

* The vast majority of drawing tablet pens have two buttons.
* Some consumer Wacom models have only a single button.
* A few pens have three buttons, for example, a Wacom Pro Pen 3.

## Default button actions

These are the default settings for Wacom pens with two buttons.

* **lower button** (the one closer to the nib) - set to perform a **mouse right-click**
* **upper button** (the one farther from the nib) - set to perform a **mouse left double-click**

## Customizing button actions

The actions taken by the buttons can be customized, usually to perform a mouse action, a keypress, a system action, or nothing.

## Common button customizations

Other things people configure their buttons to do:

* **MOUSE DOUBLE CLICK** - because some apps use a double-click
* **CTRL-Z** keypress - to perform undo
* **SPACE** keypress - in many apps, `Space` + dragging the pen will pan the drawing canvas
* **CTRL+SPACE** keypress - in many apps, this will zoom in and out of the canvas (Krita, Photoshop, Illustrator)
* **NO ACTION** - sometimes people accidentally press the buttons too often, so they set the button to do nothing

## Panning when Space + drag doesn't work

Space + drag only pans in apps built for it - mostly drawing apps. In a browser, a PDF viewer, many note-taking apps, or a Finder or File Explorer window, it does nothing.

Options:

1. **Use your driver's pan or scroll action.** Give a pen button the driver's own action, then hold the button and move the pen to scroll the window. Whether it works still depends on the app.
   * **Wacom** - **Pan/Scroll**. The cursor stays in place while you move the pen. There is also **Pan/Scroll (Legacy)**, where the cursor moves with the pen. More here: [Wacom - What actions can I assign?](https://101.wacom.com/UserHelp/en/ButtonFunctions.htm)
   * **Huion** - **Pan/Scroll**, with a slider for the scroll speed.
   * **XP-Pen** - **Scroll**, under **Other**.
2. **Scroll with the tablet instead.** Dials, touch rings and touch strips can be set to scroll. See [Auxiliary inputs](/drawtab/core/expresskeys.md).
