Add tests for EventBuffer.
This commit is contained in:
parent
3ffccf4c08
commit
2a86751df9
4 changed files with 116 additions and 8 deletions
7
internal/virtualdevice/interfaces.go
Normal file
7
internal/virtualdevice/interfaces.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package virtualdevice
|
||||
|
||||
import "github.com/holoplot/go-evdev"
|
||||
|
||||
type VirtualDevice interface {
|
||||
WriteOne(*evdev.InputEvent) error
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue