DualSense

SRJT-005

A control surface for the PS5 DualSense controller, live in the browser.

Status
Active
Package
Browser, WebHID
Source
github.com/DevSrijit/dualsense-studio

DualSense Studio: WebHID control surface for the PS5 controller

Features

  • Tunes the lightbar, adaptive triggers, rumble and LEDs live from the browser
  • Seven adaptive-trigger effects for L2 and R2, each with its own parameters
  • Two independent rumble motors, low and high frequency
  • Presets as starting points, including Forza Horizon 6 race and off-road
  • Live input monitor: sticks, buttons, triggers, touchpad, gyroscope and accelerometer
  • Reads input without taking the controller, so a game can use it at the same time
  • Battery level and charging state, parsed from the input stream
  • The protocol is a pure TypeScript package with no dependencies, behind a transport interface
  • No data leaves your machine

Pin configuration and functions

1PROF2ENC3CRC4TRIG5INPUT6CTRL7XPORT8UI

U package, 8-pin, top view

PinNameI/ODescription
1PROFIProfile to output state packages/protocol
2ENCOOutput report encoder packages/protocol
3CRCODualSense CRC-32 packages/protocol
4TRIGOAdaptive-trigger builders packages/protocol
5INPUTIInput report parser: sticks, buttons, touchpad, motion, battery packages/protocol
6CTRLI/OController engine with keep-alive packages/protocol
7XPORTI/OTransport interface. WebHID in the browser today packages/protocol
8UIIPanels, presets and the animated controller visual apps/web

Electrical characteristics

Counts and interfaces as the README states them. The README gives no measurements, so this table has none.

ParameterTest conditionsMinTypMaxUnit
Outputs
Trigger effectsFeedback, Weapon, Vibration, Slope, Bow, Galloping, MachineFeedback, Weapon, Vibration, Slope, Bow, Galloping, Machine–77–effects
Rumble motorsLow and high frequency, independentLow and high frequency, independent–22–motors
Mic LED modesOff, solid, pulseOff, solid, pulse–33–modes
LightbarBrightness and sweep speedBrightness and sweep speed–Solid or rainbowSolid or rainbow––
HD hapticsVoice-coil PCM over USB audio; on the roadmapVoice-coil PCM over USB audio; on the roadmap–PlannedPlanned––
Inputs
TouchpadLive input monitorLive input monitor–22–fingers
BatteryParsed from the input streamParsed from the input stream–Level, chargingLevel, charging––
Interface
LinkController to computerController to computer–Bluetooth or USBBluetooth or USB––
BrowserWebHID is requiredWebHID is required–Chrome, Edge, ArcChrome, Edge, Arc––
Programs on the deviceClose any other controller app firstClose any other controller app first––≤ 11–
Protocol dependencies@ds5/protocol, pure TypeScript@ds5/protocol, pure TypeScript–00––

Every value on this page is from the project README. The license is from the repository's LICENSE file.

Application circuit

U1PANELSTriggersLightbarRumbleU2@ds5/protocolProfile to stateReport encoderCRC-32Trigger buildersU3TRANSPORTWebHIDU4DUALSENSEBluetoothor USBEDITOUTHIDINPUT REPORT · BATTERYU1PANELSTriggers, lightbar, rumbleProfileU2@ds5/protocolReport encoder, CRC-32Trigger buildersOutput reportU3TRANSPORTWebHIDBluetooth or USBU4DUALSENSEPS5 controllerINPUT REPORT · BATTERY

Figure 2. SRJT-005 Typical Application: browser to controller over WebHID

Ordering information

Orderable partSRJT-005 DUALSENSE
StatusActive
PackageBrowser, WebHID
Sourcegithub.com/DevSrijit/dualsense-studio
LicenseMIT
BuildBun workspace. Next.js 16, Tailwind v4, shadcn/ui and Framer Motion. The protocol package is pure TypeScript.
RoadmapElectron shell for macOS. USB-audio transport for HD haptics.
NoticeNot affiliated with Sony Interactive Entertainment.