Skip to content

Commit

Permalink
doc(linux): comment for what code 19 means
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroo committed Nov 28, 2024
1 parent 286cbd1 commit 70f5a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oskbd/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70f5a85

Please sign in to comment.