#macos #bindings #razer #peripheral #allowing #librazermacos #razermacos

sys librazermacos-sys

Bindings to librazermacos for allowing interaction with Razer peripherals on macOS

1 unstable release

0.1.0 Oct 6, 2022

#10 in #razer


Used in razermacos

Apache-2.0

610KB
5.5K SLoC

C 5.5K SLoC // 0.2% comments Rust 41 SLoC

Contains (static library, 315KB) librazermacos/librazermacos.a, (static library, 1KB) librazermacos/libhello.a

razermacos-rs

librazermacos bindings for Rust.

[dependencies]
razermacos = "0.1.1"

librazermacos

This version currently requires that you have the librazermacos.so library on your load path. This typically involves building the library manually and copying the resulting file to either /usr/local/lib or /usr/lib.

git clone https://github.com/fcoury/razermacos-rs
cd razermacos-rs/librazermacos-sys
git submodule update --init
cd librazermacos
make
sudo cp librazermacos.so /usr/local/lib

Thanks

Special thanks to:

Dependencies

~0–1.9MB
~36K SLoC