Exemplo n.º 1
0
// Call after runtime.LockOSThread(), *NOT* in an init function
func (linux *linuxSystemObject) Startup() {
	C.GlopInit()
	jsCollect = make(chan jsInput, 100)
	go trackJoysticks(jsCollect)
}
Exemplo n.º 2
0
// Call after runtime.LockOSThread(), *NOT* in an init function
func (win32 *win32SystemObject) Startup() {
	C.GlopInit()
}
Exemplo n.º 3
0
// Call after runtime.LockOSThread(), *NOT* in an init function
func (linux *linuxSystemObject) Startup() {
	C.GlopInit()
}