-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Does anyone have suggestions?
let is_running = Arc::new(AtomicBool::new(true));
// let set_running = is_running.clone();
let mut pressed = false;
let mut count = 0;
let h = willhook().unwrap();
while is_running.load(Ordering::SeqCst) {
if let Ok(ie) = h.try_recv() {
if let InputEvent::Mouse(ev) = ie {
println!("{:?}", ie);
// ...more codesThe stdout only shows SingleClick Event
Metadata
Metadata
Assignees
Labels
No labels