#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

#927 in Hardware support

Download history 131/week @ 2024-08-10 5/week @ 2024-08-17 251/week @ 2024-08-24 9/week @ 2024-08-31 10/week @ 2024-09-14 11/week @ 2024-09-21 11/week @ 2024-09-28 1/week @ 2024-10-05 3/week @ 2024-10-12 1/week @ 2024-10-19

179 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–11MB
~84K SLoC