robotn / gohook

GoHook, Go global keyboard and mouse listener hook
MIT License
314 stars 44 forks source link

Register doesn't work as expected since v0.30.3 #21

Open ghost opened 4 years ago

ghost commented 4 years ago
func add() {
    hook.Register(hook.KeyDown, []string{"a"}, func(e hook.Event) {
        fmt.Println("test")
    })
}

reacts on everyting except a

vcaesar commented 3 years ago

I tested it on my macos, but can't be reproduced.