Why MIDI Uses A Different Browser API
A MIDI tester does not use the Gamepad API. Keyboards, pad controllers, drum devices, and control surfaces communicate through MIDI messages, so the page uses Web MIDI when the browser supports it. The MIDI tester requests access only after a click because device permission should be explicit and understandable.
The Web MIDI test reports whether access is available and how many inputs the browser sees. Demo mode animates a piano-style keyboard without requesting permission, which helps embed reviewers and site owners test the interface without a music device. Real note and controller messages stay local in the browser.
MIDI hardware varies as much as game controllers. A keyboard may send note-on messages, a pad may send drum notes, and a knob surface may send continuous controller values. This MIDI input tester focuses on permission and activity visibility rather than pretending every music workflow fits one layout.