Crates.io | kmbox |
lib.rs | kmbox |
version | 0.1.3 |
source | src |
created_at | 2024-08-08 09:42:14.903328 |
updated_at | 2024-08-27 09:22:41.286735 |
description | a crate that will help with interaction of kmbox hid devices |
homepage | |
repository | https://github.com/Stipulations/kmbox |
max_upload_size | |
id | 1329347 |
size | 4,938 |
A QOL crate for connecting to kmbox devices
Add Support for Kmbox Net
Add Support for Kmbox NVideo
use kmbox::{find_port, move_command};
use colored::*;
fn main() {
match find_port() {
Some(port_name) => {
if let Err(e) = move_command(port_name.clone(), 100, 200) {
eprintln!("{}", e.red());
}
if let Err(e) = move_command(port_name, 300, 400) {
eprintln!("{}", e.red());
}
}
None => eprintln!("{}", "KMBox not found".red()),
}
}
Contributions are always welcome!
Please fork and make a PR with Contributions and ill add if its worth adding.
It can be something simple of the com port just not being shown or drivers not being installed
Im crippling poor so not for awhile unless someone wants to donate me money via crypto to buy them and add support