kmbox

Crates.iokmbox
lib.rskmbox
version0.1.3
sourcesrc
created_at2024-08-08 09:42:14.903328
updated_at2024-08-27 09:22:41.286735
descriptiona crate that will help with interaction of kmbox hid devices
homepage
repositoryhttps://github.com/Stipulations/kmbox
max_upload_size
id1329347
size4,938
(Stipulations)

documentation

README

Kmbox Crate

A QOL crate for connecting to kmbox devices

Features

  • Auto find kmbox b+ pro
  • Simple command to send inputs

Roadmap

  • Add Support for Kmbox Net

  • Add Support for Kmbox NVideo

Usage/Examples

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()),
    }
}

Contributing

Contributions are always welcome!

Please fork and make a PR with Contributions and ill add if its worth adding.

Documentation

Documentation

Crates.io

FAQ

Why is kmbox not found?

It can be something simple of the com port just not being shown or drivers not being installed

When will kmbox Net and NVideo support be added?

Im crippling poor so not for awhile unless someone wants to donate me money via crypto to buy them and add support

Commit count: 0

cargo fmt