#hid #devices #input #interaction #net

kmbox

a crate that will help with interaction of kmbox hid devices

2 releases

0.1.3 Aug 27, 2024
0.1.2 Aug 24, 2024
0.1.1 Aug 11, 2024
0.1.0 Aug 8, 2024

#805 in Hardware support

33 downloads per month

MIT/Apache

5KB
53 lines

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

Dependencies

~2–12MB
~84K SLoC