Update README.md

This commit is contained in:
vcaesar 2019-02-22 08:37:25 -04:00
parent 753e2801d9
commit 6621146431
2 changed files with 10 additions and 0 deletions

View File

@ -223,6 +223,11 @@ import (
)
func main() {
ok := robotgo.AddEvents("q", "ctrl", "shift")
if ok {
fmt.Println("add events...")
}
keve := robotgo.AddEvent("k")
if keve {
fmt.Println("you press... ", "k")

View File

@ -220,6 +220,11 @@ import (
)
func main() {
ok := robotgo.AddEvents("q", "ctrl", "shift")
if ok {
fmt.Println("add events...")
}
keve := robotgo.AddEvent("k")
if keve {
fmt.Println("you press... ", "k")