mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
update godoc
This commit is contained in:
parent
9175329c2d
commit
7d4573cdd4
@ -360,6 +360,8 @@ func MoveMouseSmooth(x, y int, args ...interface{}) bool {
|
|||||||
|
|
||||||
// MoveSmooth move the mouse smooth,
|
// MoveSmooth move the mouse smooth,
|
||||||
// moves mouse to x, y human like, with the mouse button up.
|
// 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 {
|
func MoveSmooth(x, y int, args ...interface{}) bool {
|
||||||
cx := C.size_t(x)
|
cx := C.size_t(x)
|
||||||
cy := C.size_t(y)
|
cy := C.size_t(y)
|
||||||
@ -434,6 +436,8 @@ func Click(args ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MoveClick move and click the mouse
|
// MoveClick move and click the mouse
|
||||||
|
//
|
||||||
|
// robotgo.MoveClick(x, y int, button string, double bool)
|
||||||
func MoveClick(x, y int, args ...interface{}) {
|
func MoveClick(x, y int, args ...interface{}) {
|
||||||
MoveMouse(x, y)
|
MoveMouse(x, y)
|
||||||
MouseClick(args...)
|
MouseClick(args...)
|
||||||
|
Loading…
Reference in New Issue
Block a user