mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 15:43:55 +00:00
Update README.md
This commit is contained in:
parent
6621146431
commit
ca2a57ea6e
@ -224,9 +224,9 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ok := robotgo.AddEvents("q", "ctrl", "shift")
|
ok := robotgo.AddEvents("q", "ctrl", "shift")
|
||||||
if ok {
|
if ok {
|
||||||
fmt.Println("add events...")
|
fmt.Println("add events...")
|
||||||
}
|
}
|
||||||
|
|
||||||
keve := robotgo.AddEvent("k")
|
keve := robotgo.AddEvent("k")
|
||||||
if keve {
|
if keve {
|
||||||
|
@ -221,9 +221,9 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ok := robotgo.AddEvents("q", "ctrl", "shift")
|
ok := robotgo.AddEvents("q", "ctrl", "shift")
|
||||||
if ok {
|
if ok {
|
||||||
fmt.Println("add events...")
|
fmt.Println("add events...")
|
||||||
}
|
}
|
||||||
|
|
||||||
keve := robotgo.AddEvent("k")
|
keve := robotgo.AddEvent("k")
|
||||||
if keve {
|
if keve {
|
||||||
|
Loading…
Reference in New Issue
Block a user