Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.49 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.49 KB

Joy-Con Drum Kit

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.

Demo

Check out the live demo of the app here.

demo

You can also view a demo recording by clicking on the video below:

Joy-Con Drum Kit Demo

Pre-requisites

If you are running Linux, you need to perform the following steps.

  1. 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"
  2. Reload udev rules using sudo udevadm control --reload-rules

Quickstart

Launch the app locally with pnpm install --frozen-lockfile and pnpm run start.

Attribution