Versions in this module Expand all Collapse all v1 v1.1.0 Jul 9, 2018 v1.0.0 Jun 21, 2018 Changes in this version + const DEVICE_FILE + const EV_ABS + const EV_FF + const EV_FF_STATUS + const EV_KEY + const EV_LED + const EV_MAX + const EV_MSC + const EV_PWR + const EV_REL + const EV_REP + const EV_SND + const EV_SW + const EV_SYN + const INPUTS + const MAX_FILES + const MAX_NAME_SIZE + type InputDevice struct + Id int + Name string + func NewDevices() ([]*InputDevice, error) + type InputEvent struct + Code uint16 + Time syscall.Timeval + Type uint16 + Value int32 + func (t *InputEvent) KeyString() string + type KeyLogger struct + Dev *InputDevice + func NewKeyLogger(dev *InputDevice) *KeyLogger + func (t *KeyLogger) Read() (<-chan InputEvent, error) + func (t *KeyLogger) Stop()