razer_driver_rs

Crates.iorazer_driver_rs
lib.rsrazer_driver_rs
version0.1.0
sourcesrc
created_at2022-02-16 09:50:43.181752
updated_at2022-02-16 09:50:43.181752
descriptionImplementation of razer device USB commands
homepage
repositoryhttps://github.com/EchelonFour/razer_driver_rs
max_upload_size
id533237
size47,888
Frank Fenton (EchelonFour)

documentation

README

Razer Driver for Rust

A native rust library to communicate with Razer USB devices directly without any of the Razer software.

Work in Progress

This project is missing many many features. However the framework is there to easily add anything missing.

Contributions are very welcome.

Example

use razer_driver_rs::*;

let devices = scan_for_devices()?;
let keyboard = devices.keyboards.get(0).unwrap();
let brightness = keyboard.get_brightness()?;
println!("brightness {}", brightness);
keyboard.set_brightness(90)?;

Credits

This library is very heavily inspired by:

Commit count: 21

cargo fmt