键盘事件监控, from : https://github.com/robotn/gohook.git
Go to file
vcaesar 6bfbcf5672 update appveyor to go1.11.2 2018-11-12 14:40:05 -04:00
event #include <stdlib.h> 2018-09-17 13:36:29 -04:00
hook Update README.md and add head hint 2018-09-17 14:09:59 -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
LICENSE Initial commit 2017-01-21 16:52:05 +08:00
README.md Update README.md 2018-09-17 14:15:40 -04:00
appveyor.yml update appveyor to go1.11.2 2018-11-12 14:40:05 -04:00
circle.yml rename circle ci 2018-09-16 20:25:36 -04:00
hook.go gofmt code 2018-09-17 14:17:14 -04:00

README.md

gohook

CircleCI Status Appveyor Go Report Card GoDoc

package main

import (
	"fmt"

	"github.com/robotn/gohook"
)

func main() {
	// hook.AsyncHook()
	veve := hook.AddEvent("v")
	if veve == 0 {
		fmt.Println("v...")
	}
}