mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
update godoc
This commit is contained in:
parent
9175329c2d
commit
7d4573cdd4
1 changed files with 4 additions and 0 deletions
|
|
@ -360,6 +360,8 @@ func MoveMouseSmooth(x, y int, args ...interface{}) bool {
|
|||
|
||||
// MoveSmooth move the mouse smooth,
|
||||
// moves mouse to x, y human like, with the mouse button up.
|
||||
//
|
||||
// robotgo.MoveSmooth(x, y int, low, high float64, mouseDelay int)
|
||||
func MoveSmooth(x, y int, args ...interface{}) bool {
|
||||
cx := C.size_t(x)
|
||||
cy := C.size_t(y)
|
||||
|
|
@ -434,6 +436,8 @@ func Click(args ...interface{}) {
|
|||
}
|
||||
|
||||
// MoveClick move and click the mouse
|
||||
//
|
||||
// robotgo.MoveClick(x, y int, button string, double bool)
|
||||
func MoveClick(x, y int, args ...interface{}) {
|
||||
MoveMouse(x, y)
|
||||
MouseClick(args...)
|
||||
|
|
|
|||
Loading…
Reference in a new issue