* Get the friendly name of this sensor */
| 320 | * Get the friendly name of this sensor |
| 321 | */ |
| 322 | const char * |
| 323 | SDL_SensorGetName(SDL_Sensor * sensor) |
| 324 | { |
| 325 | if (!SDL_PrivateSensorValid(sensor)) { |
| 326 | return NULL; |
| 327 | } |
| 328 | |
| 329 | return sensor->name; |
| 330 | } |
| 331 | |
| 332 | /* |
| 333 | * Get the type of this sensor |
nothing calls this directly
no test coverage detected