键盘事件监控, from : https://github.com/robotn/gohook.git
Go to file
2018-09-17 14:15:40 -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
appveyor.yml update appveyor ci 2018-09-17 13:41:48 -04:00
circle.yml rename circle ci 2018-09-16 20:25:36 -04:00
hook.go Update README.md and add head hint 2018-09-17 14:09:59 -04: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

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