Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DI struct { OnKey func(keyCode uint32, isDown bool) (preventDefault bool) }
Functions ¶
func AddCursorPos ¶
func AddCursorPos(dx, dy int32)
func GetCursorPos ¶
func GetCursorPos() (x, y int)
func MouseDown ¶
func MouseDown(button int)
MouseDown send mouse down event.
left = 0
right = 1
middle = 2
func SetCursorPos ¶
func SetCursorPos(x, y int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.