mirror of
https://github.com/robotn/gohook.git
synced 2024-11-22 02:56:54 +08:00
键盘事件监控, from : https://github.com/robotn/gohook.git
event | ||
hook | ||
test | ||
.gitignore | ||
hook.go | ||
LICENSE | ||
README.md |
gohook
This is a work in progress.
package main
import (
"fmt"
"go-vgo/robotn/gohook"
)
func main() {
hook.AsyncHook()
veve := hook.AddEvent("v")
if veve == 0 {
fmt.Println("v...")
}
}