# Troubleshoot controller input

> Find where gamepad or MIDI input stops, check progressive controls and test safe release and optional feedback.

Canonical: https://maru.audio/docs/troubleshoot-controller-input
Documentation index: https://maru.audio/llms.txt

Check controller input in stages: connection, raw activity, decoded controls,
assignment and musical output. Start with one selected device and one route.
This makes a missing signal easier to locate and prevents a direct gamepad
connection and a relay from playing the same gesture twice.

## The app cannot see the controller

For a browser gamepad, pair or connect it through the operating system, enable
the app's controller input and press a controller button with the page focused.
Use HTTPS or localhost. An embedded app also needs its host to allow gamepad
access. A product name in the device list does not establish a supported layout.

For MIDI, grant access in a browser that provides Web MIDI and choose the
intended **input**. A relay's virtual source appears as an input to receiving
apps; opening a MIDI output at the sender does not itself create that source.
Check that the relay actually publishes an OS-visible port.

A native standalone or DAW host needs an adapter for the chosen input type.
If the app reports controller input unavailable, compiling it as standalone
does not supply the missing service. Use [Choose a controller connection](https://maru.audio/docs/controller-connections.md)
to select a suitable path.

## The device appears, but nothing plays

Open **Controller** in Gamepad Chords, or **Calibration & feedback** in
Controller MIDI. Inspect one control at a time. If you are starting from scratch,
[Play music with a game controller](https://maru.audio/docs/play-music-with-a-game-controller.md)
walks through both examples. Check these stages in order:

1. **Raw sample:** watch raw values while pressing one button or moving one
   axis. These are copied browser values, rather than raw HID packets.
2. **Named controls:** check whether the corresponding button, stick or trigger
   moves. An unsupported layout can have raw activity without named controls.
   Use an explicit measured profile rather
   than choosing button indices from a familiar product name.
3. **Assignment:** confirm the chosen signal, mode, channel, threshold and
   destination. A trigger level can move without crossing a note threshold.
4. **Accepted output:** inspect generated MIDI or tracked notes, then check the
   receiving instrument and its audio/monitoring settings. Mapping requests
   alone do not prove delivery or audible output.

Gamepad state `idle` means input is disabled. `waiting` includes enabled input
without a usable active read, including focus withdrawal. `unsupported` can
retain raw values without an executable layout. `error` includes the host's
access error. Treat a disappearing semantic frame as source loss and release
its owned notes.

For MIDI controllers, the [controller tester](https://maru.audio/hardware/test) checks MIDI
connections and profiled messages. It is a MIDI tool, rather than a gamepad
capture fallback. Device pages with a controller profile provide their own
Controls, MIDI, Modes and Test views. Browse the
[controller directory](https://maru.audio/hardware/devices/controllers) for those records;
do not infer a device page from its detected name.

## Triggers or sticks behave like switches

Watch the value as you move slowly. A progressive trigger should expose
intermediate values if the device/connection supplies them. The `pressed`
boolean alone cannot show travel. Some controllers supply only digital trigger
states; calibration cannot recover missing resolution.

Check rest, full travel and direction for each axis. Browser-normalized sticks
use signed values with right/down positive, while triggers use 0–1. Use the
[calibration reference](https://maru.audio/docs/controllers.md#calibrate-different-controller-layouts)
for measured mappings, inversion and dead zones. Apply calibration once, and
keep an input's continuous travel separate from its activation threshold.

For MIDI encoders, check the profile's value encoding. Repeated relative step
messages represent repeated movement; interpreting them as an absolute level
can make an encoder appear stuck or jump unpredictably.

## Notes double or remain held

Disable one of any duplicate direct/relay routes. Check that the receiving app
does not apply a chord mapping or transpose offset already applied by the sender.

Then hold one note and test release, disconnect, device selection, page hide
and disable. Each interruption should release only the notes owned by that
input, on their original channels. Returning to the app should require a fresh
press. If two controls own the same pitch, its final release should end it.

Stop the affected input and use the receiving instrument's panic/all-notes-off
action if a relay failure leaves a note sounding. A crashed sender cannot send
its final note-offs. Developers must handle source loss and receiver teardown,
rather than relying only on a producer's cleanup message.

## Input works, but vibration or lights do not

Input support and output support are separate. Read the selected connection's
feedback capability and result. A progressive trigger is not evidence of
adaptive trigger resistance, and MIDI note input does not establish LED output.

Test a short optional vibration or a documented profile feedback action, then
stop it. Record the reported result and the observed physical response
separately. If it fails, retain the error and check the exact controller,
connection, browser/host and adapter; do not substitute a product-name guess.

## Keep a useful report

Record the model, USB/Bluetooth connection, OS, browser or native host, selected
layout/profile revision, the control tested and its rest/full-travel values.
Include raw activity, decoded signal, assignment, output and feedback result
where available. Keep simulation and manual device checks clearly labelled.

Avoid publishing local port IDs, serials or unrelated device lists. A successful
USB test does not establish Bluetooth or another host's support. Developers can
use [Controller mappings and feedback](https://maru.audio/docs/controller-mappings-and-feedback.md)
to keep these observations connected to the app's live visual state.
