Sideways input · deltaX and tilt wheels

Horizontal scroll test

Check whether your mouse, tilt wheel or trackpad can actually scroll sideways. Hover the track below and push it left and right — you get the distance travelled, a sideways speed figure, and a breakdown of which wheel-event axes your browser really received.

Runs entirely in this browser tab. Nothing is recorded to a server or uploaded.

Test duration

Hover here, then scroll sidewaysThe 10-second timer starts on your first scroll — no button to press. A tilt wheel, a trackpad two-finger swipe, or Shift + wheel all count.

Distance is the real travel of the box above, measured in CSS pixels, so it never depends on guessing what one wheel notch is worth. Scrolls per second counts browser wheel events — one physical notch can emit more than one. Many mice emit no horizontal wheel events at all; an empty horizontal count is a device capability, not a fault.

Four ways to scroll sideways

Tilt wheel

Pushing the wheel left or right against a side switch. Common on office and productivity mice. On Windows this is frequently synthesised by the vendor driver, so uninstalling that software can remove the capability entirely.

Trackpad two-finger swipe

The most reliable source of genuine deltaX, including a momentum tail. Works out of the box on macOS, Windows precision touchpads and libinput.

Shift + wheel

A browser-level convenience. The event usually still arrives on deltaY and the browser redirects the scroll, so expect real sideways travel with vertical-looking events.

Free-spin thumb wheel

A second wheel under the thumb, found on some MX-class and trackball mice. Emits deltaX directly and often at a high event rate.

Reading the axis breakdown

After a run the report groups every wheel event your browser received into four buckets. They are mutually exclusive, so the four counts always add up to the total number of events.

deltaX only
Pure horizontal input. A non-zero count here proves your device can drive horizontal scrolling on its own.
deltaY only
Vertical events. Seeing these alongside sideways movement is the normal signature of Shift+wheel: the browser, not the device, changed the axis.
Both axes
Diagonal input, typical of a trackpad swipe that is not perfectly straight, and of free-spin thumb wheels during a direction change.
Zero delta
An event that reported no movement at all on either axis. A few are unremarkable; a steady stream of them during active scrolling is worth investigating with the mouse wheel test.

Fixing horizontal scrolling that stopped working

  • Reinstall the vendor mouse software. On Windows, tilt-wheel input for most office mice comes from the manufacturer’s driver rather than from the HID stack. A Windows feature update that removes it will silently kill sideways scrolling.
  • Check the app, not just the mouse. If this page sees deltaX events but your spreadsheet does not scroll, the input is arriving and the application is ignoring it.
  • On a trackpad, confirm gestures are enabled. Two-finger scrolling can be switched off at the operating-system level, which disables both axes at once.
  • Clean the tilt switches. They are ordinary micro-switches beside the wheel and they collect the same debris as the encoder.

For vertical problems — reverse scrolling, skipping, stutter — use the mouse wheel test, and see browser compatibility for how different engines report axes and delta units.

Horizontal scrolling questions

Hover the sideways track above and try each input in turn: tilt the wheel left and right if your mouse has a tilt wheel, swipe two fingers sideways on a trackpad, or hold Shift while turning an ordinary wheel. The axis breakdown after the run tells you which of them actually produced deltaX events and which produced nothing at all.