#bindings #userspace #low-level #set #idiomatic #create #xwiimote

sys xwiimote-sys

Low-level bindings to the xwiimote user-space library

7 releases

0.1.6 Sep 20, 2023
0.1.5 Sep 20, 2023
0.1.4 Jun 7, 2022

#61 in #userspace

46 downloads per month
Used in xwiimote

MIT license

135KB
4.5K SLoC

C 4.5K SLoC // 0.0% comments Automake 104 SLoC // 0.2% comments Shell 60 SLoC // 0.5% comments Rust 56 SLoC // 0.2% comments Bitbake 18 SLoC // 0.4% comments Snakemake 1 SLoC // 0.9% comments

Contains (obscure autoconf code, 3KB) vendor/configure.ac

xwiimote-sys

Crates.io docs.rs

Rust FFI bindings to the xwiimote user-space library.

The xwiimote crate provides higher-level, more idiomatic bindings to the same library.

Usage

You will need the following dependencies to create the bindings:

  • libudev >= 183
  • libxwiimote >= 2-2 (optional; set XWIIMOTE_SYS_STATIC=1 to build from source and link statically.)

License

MIT © Hugo Sanz González

Dependencies

~0–2.1MB
~43K SLoC