Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys [1024]int
Functions ¶
func CreateWindow ¶
func CreateWindow(option *WindowOptions)
func RegisterInputCallback ¶
func RegisterInputCallback(callback InputCallback)
func RegisterWindowCallback ¶
func RegisterWindowCallback(callback WindowCallback)
Types ¶
type InputCallback ¶
type InputCallback interface { OnKeyEvent(key int, pressed bool) OnPointEvent(key int, pressed bool, x, y float32) }
输入系统
Click to show internal directories.
Click to hide internal directories.