コード例 #1
0
ファイル: cgo_linux.go プロジェクト: jctaylor1/haunts
// Call after runtime.LockOSThread(), *NOT* in an init function
func (linux *linuxSystemObject) Startup() {
	C.GlopInit()
	jsCollect = make(chan jsInput, 100)
	go trackJoysticks(jsCollect)
}
コード例 #2
0
ファイル: cgo_windows.go プロジェクト: MobRulesGames/glop
// Call after runtime.LockOSThread(), *NOT* in an init function
func (win32 *win32SystemObject) Startup() {
	C.GlopInit()
}
コード例 #3
0
ファイル: cgo_linux.go プロジェクト: losinggeneration/glop
// Call after runtime.LockOSThread(), *NOT* in an init function
func (linux *linuxSystemObject) Startup() {
	C.GlopInit()
}