Merge pull request #415 from go-vgo/bitmap-pr

Update README.md and godoc
This commit is contained in:
Evans 2021-12-08 17:57:15 -04:00 committed by GitHub
commit 61f10e4f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

View File

@ -112,6 +112,15 @@ sudo dnf install xsel xclip
```
## Installation:
With Go module support (Go 1.11+), just import:
```go
import "github.com/go-vgo/robotgo"
```
Otherwise, to install the robotgo package, run the command:
```
go get github.com/go-vgo/robotgo
```

View File

@ -106,6 +106,14 @@ sudo dnf install xsel xclip
```
## Installation:
With Go module support (Go 1.11+), just import:
```go
import "github.com/go-vgo/robotgo"
```
Otherwise, to install the robotgo package, run the command:
```
go get github.com/go-vgo/robotgo
```

View File

@ -18,6 +18,12 @@ See Requirements:
https://github.com/go-vgo/robotgo#requirements
Installation:
With Go module support (Go 1.11+), just import:
```go
import "github.com/go-vgo/robotgo"
```
Otherwise, to install the robotgo package, run the command:
go get -u github.com/go-vgo/robotgo
*/
package robotgo
@ -641,7 +647,8 @@ func MovesClick(x, y int, args ...interface{}) {
Click(args...)
}
// Toggle toggle the mouse, support button: "left", "center", "right",
// Toggle toggle the mouse, support button:
// "left", "center", "right",
// "wheelDown", "wheelUp", "wheelLeft", "wheelRight"
//
// Examples: