From 70f5a8521a59ccb8139d03a517a5c45251736fd6 Mon Sep 17 00:00:00 2001 From: jtroo Date: Thu, 28 Nov 2024 03:16:34 -0800 Subject: [PATCH] doc(linux): comment for what code 19 means --- src/oskbd/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oskbd/linux.rs b/src/oskbd/linux.rs index 446139529..2a9259164 100644 --- a/src/oskbd/linux.rs +++ b/src/oskbd/linux.rs @@ -152,7 +152,7 @@ impl KbdIn { .map(|evs| evs.into_iter().for_each(|ev| input_events.push(ev))) { // Currently the kind() is uncategorized... not helpful, need to match - // on os error (19) + // on os error. code 19 is ENODEV, "no such device". match e.raw_os_error() { Some(19) => { self.poll