Archived
1
This repository has been archived on 2021-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
2021-05-28 16:23:39 -04:00

16 lines
383 B
Rust

use std::time::Duration;
use clap::{value_t, App, Arg};
use libleap::LeapDevice;
fn main() {
let matches = App::new("snapscan")
.author("Evan Pratten <ewpratten@gmail.com>")
.get_matches();
// Open a connection to the device
let device = LeapDevice::new(Duration::from_secs(1)).unwrap();
println!("Connected to LeapMotion device");
}