mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
| .. | ||
| chan | ||
| event | ||
| example | ||
| hook | ||
| .gitignore | ||
| appveyor.yml | ||
| circle.yml | ||
| extern.go | ||
| go.mod | ||
| hook.go | ||
| LICENSE | ||
| README.md | ||
| tables.go | ||
gohook
package main
import (
"fmt"
"github.com/robotn/gohook"
)
func main() {
EvChan := hook.Start()
defer hook.End()
for ev := range EvChan {
fmt.Println(ev)
}
}
Based on libuiohook.