Documentation ¶
Index ¶
Constants ¶
View Source
const ( EV_SYN = uint16(0x00) EV_KEY = uint16(0x01) EV_REL = uint16(0x02) )
Variables ¶
View Source
var ErrDeviceNotFound = errors.New("device not found")
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device interface {
Read() (*InputEvent, error)
}
func NewDevice ¶
func NewDevice(d *evdev.InputDevice) Device
Click to show internal directories.
Click to hide internal directories.