# 5.21 Choose touch or pointer behavior from the input

> Chapter 5, Adapt across sizes. Section: Input, density, and short windows. Guide: https://www.designguide.dev/md/05-adapt-across-sizes.md#choose-touch-or-pointer-behavior-from-the-input

Hard

**Rule:** Choose touch or pointer behavior from the input in use, not from the width of the window.

**Why:** A laptop can have touch, and a tablet can have a mouse.

- Keep targets large while touch is in use (see [Rule 15.1](https://www.designguide.dev/r/size-targets-by-input-type.md)).
- Show hover extras only where hover exists (see [Rule 12.1](https://www.designguide.dev/r/let-hover-only-add.md)).
- Switch when the input changes, not at a width.

**Picture:** Do: A touch laptop keeps roomy rows in a wide window. Don't: A touch laptop gets dense rows only because the window is wide.

**See:** [15.1 Size targets by input type](https://www.designguide.dev/r/size-targets-by-input-type.md), [12.1 Let hover only add](https://www.designguide.dev/r/let-hover-only-add.md)
