Crates.io | cwiid |
lib.rs | cwiid |
version | 0.1.15 |
source | src |
created_at | 2022-12-03 20:48:36.641818 |
updated_at | 2022-12-08 16:10:57.261557 |
description | Rust library for cwiid (Wii remote "Wiimote") based on libcwiid-sys bindings |
homepage | |
repository | https://github.com/RedIODev/Cwiid-rs-api |
max_upload_size | |
id | 729248 |
size | 52,874 |
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.