#pragma section-numbers off #pragma disable-camelcase = SDL_SensorOpen = Open a sensor for use. <> == Syntax == {{{#!highlight cpp SDL_Sensor *SDL_SensorOpen(int device_index); }}} == Function Parameters == ||'''device_index'''||The sensor to open|| == Return Value == A [[SDL_Sensor]] sensor object, or NULL if an error occurred. ---- [[CategoryAPI]], [[CategorySensor]]