First commit

This commit is contained in:
2019-08-22 01:02:25 +08:00
commit c75292cba7
7 changed files with 498 additions and 0 deletions

22
test/main.go Normal file
View File

@@ -0,0 +1,22 @@
package main
import (
"fmt"
"github.com/go-vgo/robotgo"
)
func main() {
fmt.Println("--- Please press ctrl + shift + q ---")
// start hook
s := robotgo.Start()
// end hook
defer robotgo.End()
for ev := range s {
fmt.Println("hook: ", ev)
fmt.Println(ev.Kind)
fmt.Println(ev.Rawcode)
}
}

BIN
test/test Executable file

Binary file not shown.