#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGFunctions for details on editing this page*^*^*^*^* = SDL_GetNumTouchDevices = Use this function to get the number of registered touch devices. <> == Syntax == {{{#!highlight cpp int SDL_GetNumTouchDevices(void) }}} == Return Value == Returns the number of registered touch devices. == Code Examples == {{{#!highlight cpp You can add your code example here }}} ##Leave this section as-is unless you have a code example to put in. In that case, replace You can add your code example here with your code example following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Remarks == On some platforms SDL first sees the touch device if it was actually used. Therefore [[SDL_GetNumTouchDevices]]() may return 0 although devices are available. After using all devices at least once the number will be correct. This was fixed for Android in SDL 2.0.1. == Version == This function is available since SDL 2.0.0. == Related Functions == .[[SDL_GetTouchDevice]] ---- [[CategoryAPI]], [[CategoryEvents]] ##See the Style Guide for instructions on editing the footer.