A drum kit web app that uses Nintendo Joy-Cons as controllers (connected via WebHID).
Important
The WebHID API is currently only supported on Chromium-based browsers e.g. Chrome, Edge, etc.
Check out the live demo of the app here.
You can also view a demo recording by clicking on the video below:
If you are running Linux, you need to perform the following steps.
-
Create a new file
/etc/udev/rules.d/10-joycon.rules
and paste the following content:# Switch Joy-con (L) (Bluetooth only) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:057E:2006.*", MODE="0666" # Switch Joy-con (R) (Bluetooth only) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:057E:2007.*", MODE="0666"
-
Reload
udev
rules usingsudo udevadm control --reload-rules
Launch the app locally with pnpm install --frozen-lockfile
and pnpm run start
.
- Joy-Con WebHID Driver
- Joy-Con models by Stix
- Icons by Icons8