MCPcopy Create free account
hub / github.com/emberian/evdev / input_id

Method input_id

src/uinput.rs:61–64  ·  view source on GitHub ↗
(mut self, id: InputId)

Source from the content-addressed store, hash-verified

59 /// Set a custom input ID.
60 #[inline]
61 pub fn input_id(mut self, id: InputId) -> Self {
62 self.id = Some(id.0);
63 self
64 }
65
66 /// Set the device's physical location, e.g. `usb-00:01.2-2.1/input0`.
67 pub fn with_phys(self, path: &CStr) -> io::Result<Self> {

Callers 1

get_deviceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected