blob: f57436b7d5c1e5e7b32bfca8fd67cf19f84cfd7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# librazermacos
C library of openrazer drivers ported to macOS.
Exposed as a shared/dynamic library - `librazermacos.so` to provider interoperability with various frontends.
Includes a sample CLI implementation in C to demonstrate driver function calls.
To build the shared library and sample cli
```bash
make
```
Running the CLI
```bash
./sample_cli
```
To build the shared library only.
```bash
make librazermacos.so
```
## razer-macos frontend
[razer-macos](https://github.com/1kc/razer-macos/) does not actually build `librazermacos.so`, instead the drivers are built by [binding.gyp](https://github.com/1kc/razer-macos/blob/master/binding.gyp).
|