mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Update docs
This commit is contained in:
parent
1e5894d1f7
commit
fadc99f537
@ -419,7 +419,7 @@ robotgo.ScrollMouse(50, "down")
|
||||
package main
|
||||
|
||||
import (
|
||||
. "fmt"
|
||||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
)
|
||||
@ -427,12 +427,12 @@ import (
|
||||
func main() {
|
||||
keve := robotgo.AddEvent("k")
|
||||
if keve == 0 {
|
||||
Println("you press...", "k")
|
||||
fmt.Println("you press...", "k")
|
||||
}
|
||||
|
||||
mleft := robotgo.AddEvent("mleft")
|
||||
if mleft == 0 {
|
||||
Println("you press...", "mouse left button")
|
||||
fmt.Println("you press...", "mouse left button")
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -434,7 +434,7 @@ robotgo.ScrollMouse(50, "down")
|
||||
package main
|
||||
|
||||
import (
|
||||
. "fmt"
|
||||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
)
|
||||
@ -442,12 +442,12 @@ import (
|
||||
func main() {
|
||||
keve := robotgo.AddEvent("k")
|
||||
if keve == 0 {
|
||||
Println("you press...", "k")
|
||||
fmt.Println("you press...", "k")
|
||||
}
|
||||
|
||||
mleft := robotgo.AddEvent("mleft")
|
||||
if mleft == 0 {
|
||||
Println("you press...", "mouse left button")
|
||||
fmt.Println("you press...", "mouse left button")
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -52,7 +52,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version string = "v0.43.0.269, Matterhorn Alps!"
|
||||
version string = "v0.43.0.272, Matterhorn Alps!"
|
||||
)
|
||||
|
||||
// GetVersion get version
|
||||
|
Loading…
Reference in New Issue
Block a user