Wiimote on the web using the WebHID API

Wiimote Web demo running on my tv !

Where did the project come from?

Well more than just being a cool “party trick” ( please don’t judge me nor my parties 🙏).
I actually want to show you the real use case and the story behind the Wiimote library.

Kingdom of musical flowers. Bomb-free universe

A painting of Nicola De Maria
https://artsandculture.google.com/asset/kingdom-of-musical-flowers-bomb-free-universe-nicola-de-maria/JgF1HNoNBSWw0A

drumroll 🥁🥁🥁

Wiimote

The Wiimote

Yes the Wiimote, fits all the requirement, and it’s just an awesome piece of hardware, it’s composed of:

  • An accelerometer
  • An IR Camera (monochrome with built-in image processing)
  • Some models also have a gyroscope (Wii MotionPlus)

How did I create this library?

It wouln’t have been possible without the awesome work of WiiBrew.

How does the library communicate with the Wiimote?

It utilises the sendreport method of WebHID along with the oninputreport method to receive the response of the device.

Where can you find the library?

The library is completely open source, feel free to contribute to it, there is a lot of work to be done. I am counting on you!

Spreading ❤️ at @SamsungInternet — Twitter: @KevinPicchi