cli: add an input subcommand
This commit is contained in:
parent
283e438d1b
commit
efae1cd16a
19 changed files with 1383 additions and 36 deletions
|
|
@ -492,6 +492,10 @@ impl<T: TestInputDevice> InputDevice for T {
|
|||
self.common().name.clone()
|
||||
}
|
||||
|
||||
fn dev_t(&self) -> Option<c::dev_t> {
|
||||
None
|
||||
}
|
||||
|
||||
fn set_tap_enabled(&self, enabled: bool) {
|
||||
<Self as TestInputDevice>::set_tap_enabled(self, enabled)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue