gohook/README.md
htmk 7412190046 Changed constants, keychar type and test function
now Keychar is a rune, so it can be used as a regular character.
2019-02-10 11:58:48 -02:00

783 B

gohook

CircleCI Status Appveyor Go Report Card GoDoc

Based on libuiohook

package main

import (
	"fmt"
	//"github.com/robotn/gohook"
	"github.com/cauefcr/gohook"
)

func main() {
	EvChan := hook.Start()
	defer hook.End()
	for ev := range EvChan {
		fmt.Println(ev)
	}
}