Exemple #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)
}
Exemple #2
0
// Call after runtime.LockOSThread(), *NOT* in an init function
func (win32 *win32SystemObject) Startup() {
	C.GlopInit()
}
Exemple #3
0
// Call after runtime.LockOSThread(), *NOT* in an init function
func (linux *linuxSystemObject) Startup() {
	C.GlopInit()
}