#wii #wiimote #bindings #remote #nintendo #communicate #api

cwiid

Rust library for cwiid (Wii remote "Wiimote") based on libcwiid-sys bindings

16 releases

0.1.15 Dec 8, 2022
0.1.14 Dec 8, 2022

#1554 in Hardware support

Custom license

18KB
390 lines

Cwiid Library for Rust

This library provides an api to communicate with the Nintendo Wii Wiimote.

The library is based on the Cwiid C library.

Currently only the Wiimote itself is supported but accessories are planned for future versions.

The current version is an untested alpha release. Nothing is tested and documented.

The core struct of this library is the WiiMote struct. It represents 1 Wiimote control per instance. A new controller can be connected by calling either WiiMote::new() to get the a randomly selected Wiimote or the WiiMote::find(..) function to find a specific Wiimote.

Dependencies

~430KB
~11K SLoC