Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2023 Changes in this version type Hotkey + func (h *Hotkey) String() string + func (h *Hotkey) ToKeyPressing() KeyPressing v0.1.0 Apr 5, 2023 Changes in this version + func ListenForKeys(ctx context.Context, evtChan chan Hotkey, hotkeys ...Hotkey) + func NewClipboardAccess() (*clipboardAccess, error) + func NewKeyPresser() (*keyPresser, error) + func NewSpeaker() *player + func NewTeeReader(source io.ReadCloser, outPath string) (io.ReadCloser, error) + type Hotkey struct + Key hotkey.Key + Modifier []hotkey.Modifier + func (h *Hotkey) UnmarshalYAML(unmarshal func(interface{}) error) error + type KeyPressing struct + Ctrl bool + Keys []int + Shift bool