DualShock 4 Test

Connect a DualShock 4 through WebHID to check every button, stick, trigger, touchpad contact, motion sensor, battery reading, lightbar and rumble motor. Device data is processed locally in your browser.

Controller color
Indicator color

How to test a DualShock 4

  1. Connect the controller with a USB data cable or pair it with the computer over Bluetooth.
  2. Click “Connect DualShock 4”, select the controller in the browser dialog and grant access.
  3. Press every button, rotate both sticks, squeeze the triggers, touch the touchpad and move the controller. Compare the live values with your actions.
  4. When connected over USB, choose a lightbar color and test the two rumble motors at a comfortable intensity.

What does the test read?

The test displays digital buttons, analog sticks and triggers, up to two simultaneous touchpad contacts, raw gyroscope and accelerometer readings, battery level, charging state, connection type and HID report rate.

Compatibility and limitations

WebHID requires a compatible Chromium-based desktop browser and a secure page. The WebHID-DS4 library primarily targets official DualShock 4 models; third-party compatibility is not guaranteed. The library may not detect a disconnection, and lightbar or rumble commands may not work over Bluetooth. Reconnect the controller or use a USB data cable if values stop updating.