#pragma section-numbers off #pragma disable-camelcase = SDL_SensorGetDeviceNonPortableType = Get the platform dependent type of a sensor. This can be called before any sensors are opened. <> == Syntax == {{{#!highlight cpp int SDL_SensorGetDeviceNonPortableType(int device_index); }}} == Function Parameters == ||'''device_index'''||The sensor to check|| == Return Value == The sensor platform dependent type, or -1 if device_index is out of range. ---- [[CategoryAPI]], [[CategorySensor]]