Documentation
¶
Index ¶
- Constants
- Variables
- func Click(hwnd uintptr, x, y int32) error
- func ClickMiddle(hwnd uintptr, x, y int32) error
- func ClickRight(hwnd uintptr, x, y int32) error
- func DoubleClick(hwnd uintptr, x, y int32) error
- func Move(hwnd uintptr, x, y int32) error
- func Scroll(hwnd uintptr, x, y int32, delta int32) error
Constants ¶
View Source
const ( WM_MOUSEMOVE = 0x0200 WM_LBUTTONDOWN = 0x0201 WM_LBUTTONUP = 0x0202 WM_LBUTTONDBLCLK = 0x0203 WM_RBUTTONDOWN = 0x0204 WM_RBUTTONUP = 0x0205 WM_RBUTTONDBLCLK = 0x0206 WM_MBUTTONDOWN = 0x0207 WM_MBUTTONUP = 0x0208 WM_MBUTTONDBLCLK = 0x0209 WM_MOUSEWHEEL = 0x020A MK_LBUTTON = 0x0001 MK_RBUTTON = 0x0002 MK_MBUTTON = 0x0010 WHEEL_DELTA = 120 )
Variables ¶
View Source
var ErrInvalidScrollDelta = errors.New("scroll delta must be a multiple of WHEEL_DELTA (120)")
Functions ¶
func ClickMiddle ¶
ClickMiddle simulates a middle mouse button click at the specified client coordinates.
func ClickRight ¶
ClickRight simulates a right mouse button click at the specified client coordinates.
func DoubleClick ¶
DoubleClick simulates a left mouse button double-click at the specified client coordinates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.