#macos #mac #razer #api-bindings

razermacos

Bindings to librazermacos for allowing interaction with Razer peripherals on macOS

1 unstable release

0.1.0 Oct 6, 2022

#141 in macOS and iOS APIs

Custom license

620KB
6K SLoC

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

razermacos-rs

librazermacos bindings for Rust.

[dependencies]
razermacos = "0.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

Dependencies

~0–1.9MB
~36K SLoC