键盘事件监控, from : https://github.com/robotn/gohook.git
Go to file
2018-09-17 13:36:29 -04:00
event #include <stdlib.h> 2018-09-17 13:36:29 -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
circle.yml rename circle ci 2018-09-16 20:25:36 -04:00
hook.go remove windows clink 2018-09-17 13:30:41 -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...")
	}
}