mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update README.md
This commit is contained in:
parent
753e2801d9
commit
6621146431
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user