wiinode

0.0.0 • Public • Published

wiinode

A node library for the Nintendo® Wii Remote (Wiimote), using node-hid.

Installation

npm install --save wiinode

Getting started

First, connect the Wiimotes to your computer.

Imports:

import { findRemotes, Remote } from 'wiinode';

Then call findRemotes to get a list of Wiimotes. You get Remote objects.

On the Remote object:

  • Use on to register a button event listener (press or release).
  • Read the properties to get button, accelerate, and/or IR camera data.
  • Use rumble, setLed, or setLeds to write to the Wiimote.

More examples to follow...

See the wonderful WiiBrew Wiki for more technical details.

Contribute

Do you have suggestions, ideas, or even code? Please contact me at http://thomasjacob.de/footer/contact.

Readme

Keywords

none

Package Sidebar

Install

npm i wiinode

Weekly Downloads

0

Version

0.0.0

License

ISC

Unpacked Size

17.4 kB

Total Files

7

Last publish

Collaborators

  • thereincarnator