diff --git a/robotgo.go b/robotgo.go index 0f773da..6d9554b 100644 --- a/robotgo.go +++ b/robotgo.go @@ -14,8 +14,8 @@ package robotgo #include "mouse/goMouse.h" #include "key/goKey.h" #include "bitmap/goBitmap.h" -//#include "window/goWindow.h" //#include "event/goEvent.h" +//#include "window/goWindow.h" */ import "C" @@ -336,16 +336,6 @@ func GetPortion(bit C.MMBitmapRef, x, y, w, h C.size_t) C.MMBitmapRef { return pos } -/* -____ __ ____ __ .__ __. _______ ______ ____ __ ____ -\ \ / \ / / | | | \ | | | \ / __ \ \ \ / \ / / - \ \/ \/ / | | | \| | | .--. | | | | \ \/ \/ / - \ / | | | . ` | | | | | | | | \ / - \ /\ / | | | |\ | | '--' | `--' | \ /\ / - \__/ \__/ |__| |__| \__| |_______/ \______/ \__/ \__/ - -*/ - /* ------------ --- --- ------------ ---- ---- ------------ ************ *** *** ************ ***** **** ************ @@ -357,3 +347,13 @@ ____ __ ____ __ .__ __. _______ ______ ____ __ ____ ************ **** ************ **** **** **** */ + +/* +____ __ ____ __ .__ __. _______ ______ ____ __ ____ +\ \ / \ / / | | | \ | | | \ / __ \ \ \ / \ / / + \ \/ \/ / | | | \| | | .--. | | | | \ \/ \/ / + \ / | | | . ` | | | | | | | | \ / + \ /\ / | | | |\ | | '--' | `--' | \ /\ / + \__/ \__/ |__| |__| \__| |_______/ \______/ \__/ \__/ + +*/ diff --git a/test/main.go b/test/main.go index 0c2896b..8c936c5 100644 --- a/test/main.go +++ b/test/main.go @@ -6,7 +6,7 @@ import ( "github.com/go-vgo/robotgo" ) -func arobotgo() { +func aRobotgo() { x, y := robotgo.GetMousePos() Println("pos:", x, y) @@ -48,5 +48,5 @@ func arobotgo() { } func main() { - arobotgo() + aRobotgo() }