We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e243eab commit dd44b83Copy full SHA for dd44b83
1 file changed
src/uinput.rs
@@ -47,7 +47,7 @@
47
//! dev.write(&[KeyEvent::new(Key::KEY_Q, KeyState::RELEASED).into()])?;
48
//!
49
//! // In another thread:
50
-//! # dev.set_nonblocking(true)?; // Make sure the test exits
+//! # return Ok(()); // Don't block
51
//! for res in dev.events() {
52
//! let event = res?;
53
//! println!("Received event: {event:?}");
@@ -93,7 +93,7 @@
93
//! .with_ff_features([ff::Feature::RUMBLE])?
94
//! .with_ff_effects_max(5)?
95
//! .build("Rusty Rumbler")?;
96
97
98
99
0 commit comments