Versions in this module Expand all Collapse all v0 v0.2.2 Oct 10, 2025 v0.2.1 Aug 23, 2025 v0.2.0 Aug 23, 2025 Changes in this version + var WindowsVKCodeToName = make(map[uint16]string) + var WindowsVKCodes = map[string]uint16 + func GetWindowsVKKeyCode(name string) (uint16, bool) + func GetWindowsVKKeyName(code uint16) string v0.1.0 Aug 20, 2025 v0.0.3 Aug 17, 2025 Changes in this version + func SetLogLevel(level DebugLevel) v0.0.2 Aug 17, 2025 v0.0.1 Aug 17, 2025 Changes in this version + const CharUndefined + const Debug + const FakeEvent + const HookDisabled + const HookEnabled + const KeyDown + const KeyHold + const KeyUp + const MouseDown + const MouseDrag + const MouseHold + const MouseMove + const MouseUp + const MouseWheel + const Silent + const Version + const WheelDown + const WheelUp + var Keycode = keycode.Keycode + var MouseMap = keycode.MouseMap + var Special = keycode.Special + func AddEvent(key string) bool + func AddEvents(key string, arr ...string) bool + func AddMouse(btn string, x ...int16) bool + func AddMousePos(x, y int16) bool + func End() + func Process(evChan <-chan Event) (out chan bool) + func Register(when Kind, cmds []string, cb func(Event)) error + func SetDebugLevel(level DebugLevel) + func Start() chan Event + func StopEvent() + type Code uint16 + type DebugLevel uint8 + type Event struct + Amount uint16 + Button uint16 + Clicks uint16 + Direction uint8 + Keychar rune + Keycode uint16 + Kind Kind + Mask uint16 + Rawcode uint16 + Reserved uint16 + Rotation int32 + When time.Time + X int16 + Y int16 + func (e Event) String() string + type Kind uint8