dualshock-tools/dualshock-tools.github.io
소개
A web-based calibration tool for PlayStation DualShock 4, DualSense, and DualSense Edge controllers using the WebHID API.
기타 프로젝트What you can do
- Controller connection via WebHID API
- Stick calibration and range calibration
- Input testing and visualization
- Battery status display
측정된 스타 증가
- in 24h
- +2
- in 7 days
- +7
- in 15 days
- +14
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDualShock Calibration GUI
A web-based calibration tool for PlayStation DualShock 4, DualSense, and DualSense Edge controllers using the WebHID API.
The live version of this project is available at https://dualshock-tools.github.io.
No installation is required: simply open the website in a WebHID-compatible browser.
Features
- Controller connection via WebHID API
- Stick calibration and range calibration
- Input testing and visualization
- Battery status display
- Multi-language support (20+ languages)
- Progressive Web App capabilities
Docker
A pre-built Docker image is available for running DualShock Tools without installing any dependencies.
See the Docker guide for installation and usage instructions.
Contributing
Interested in contributing? Please read CONTRIBUTING.md for guidelines on submitting changes and pull requests.
Development
Prerequisites
- Node.js v20 or higher (v26 recommended — see
.nvmrc). Older versions (14, 16, 18) will fail the build; the toolchain requires Node 20+. - npm or yarn
- Modern browser with WebHID support (Chrome/Edge)
If you use nvm, run nvm install && nvm use in the project root to pick up the version from .nvmrc.
Getting Started
Install dependencies:
npm installBuild the application:
npm run buildStart the development server:
npm run startThe app will be available at
http://localhost:8080. WebHID works here becauselocalhostis treated as a secure context.
Docker
Alternatively, build and run without installing Node:
docker compose up --build
The app is then available at http://localhost:8080.
Development Scripts
npm run build- Build the application for developmentnpm run build:prod- Build the application for productionnpm run clean- Clean the dist directorynpm run serve- Serve the built app over HTTP athttp://localhost:8080(WebHID works on localhost)npm run start- Build and serve the appnpm run dev:full- Build, watch for changes, and serve with auto-reloadnpm run watch- Watch for file changes and rebuild
Development Workflow
For active development with auto-rebuild:
npm run dev:full
This will:
- Build the application
- Start watching for file changes
- Serve the app at
http://localhost:8080 - Automatically rebuild when files change
Important Notes
- WebHID & secure contexts: WebHID requires a secure context.
localhostcounts as secure, so the HTTP dev server (http://localhost:8080) works for local development. Reaching the app from another device would need HTTPS — use the production site for that. - Controller Support: Only works in browsers with WebHID support (Chrome, Edge, Opera).
Project Structure
js/- Source JavaScript filesscss/- Source SCSS filestemplates/- HTML template fileslang/- Translation filesassets/- SVG assetsdist/- Built application (generated)
Build System
The project uses Gulp for building:
- JavaScript bundling with Rollup
- SCSS concatenation and minification
- HTML processing and minification
- Asset optimization
- Development vs production builds
관련 프로젝트 살펴보기
불러오는 중…