Update docs

This commit is contained in:
vCaesar 2017-03-05 00:19:09 +08:00
parent 1e5894d1f7
commit fadc99f537
3 changed files with 7 additions and 7 deletions

View File

@ -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")
}
}
```

View File

@ -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")
}
}
```

View File

@ -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