Closed jordansissel closed 6 years ago
For troubleshooting, I tested AutoHotKey's Send
that works, so I'm thinking I'm doing something wrong or maybe there's a bug?
Found my issue.
-unsafe.Pointer(&input)
+unsafe.Pointer(&input[0])
I needed to pass a pointer to the first element of the slice, not the slice itself. Oops.
Closing! :)
I'm having trouble getting
win.SendInput
to behave.When run, this outputs:
But the mouse doesn't move.
I've also tried sending
win.KBD_INPUT
events, and I am also unsuccessful there.SendInput
is returning1
which indicates it successfully did the event, but my mouse doesn't seem to move. Ideas?Windows 10 Version 1607 Build 14393.1715