键盘事件监控, from : https://github.com/robotn/gohook.git
Go to file
2018-09-16 20:17:40 -04:00
event add event c file 2018-09-16 19:25:32 -04:00
hook add hook go support 2018-09-16 19:29:13 -04:00
test add hook go support 2018-09-16 19:29:13 -04:00
.gitignore Initial commit 2017-01-21 16:52:05 +08:00
appveyor.yml add ci support 2018-09-16 20:17:40 -04:00
config.yml add ci support 2018-09-16 20:17:40 -04:00
hook.go add ci support 2018-09-16 20:17:40 -04:00
LICENSE Initial commit 2017-01-21 16:52:05 +08:00
README.md Update README.md and fixed clink 2018-09-16 19:43:30 -04:00

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...")
	}
}