20 lines
354 B
Go
20 lines
354 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"github.com/go-vgo/robotgo"
|
||
|
)
|
||
|
|
||
|
// Remember to check documentation at: https://pkg.go.dev/github.com/go-vgo/robotgo
|
||
|
|
||
|
func main() {
|
||
|
fmt.Printf("Autoclicker activated\n")
|
||
|
|
||
|
for {
|
||
|
robotgo.Click("left", true)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Great, this doesn't work in wayland which means I will have to do the testing somewhere else
|
||
|
// Just great
|