(mut self, id: InputId)
| 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> { |