示例#1
0
func GetNumTouchFingers(touchId TouchID) int {
	_touchId := (C.SDL_TouchID)(touchId)
	return (int)(C.SDL_GetNumTouchFingers(_touchId))
}
示例#2
0
文件: touch.go 项目: JalfResi/go-sdl2
func GetNumTouchFingers(t TouchID) int {
	return int(C.SDL_GetNumTouchFingers(t.c()))
}