目次 - SDL 3.0 API(機能別) - センサー - SDL_GetSensorType
SDL_GetSensorType
オープンしたセンサーの種類を得る
ヘッダ
SDL3/SDL_sensor.h
構文
SDL_SensorType SDL_GetSensorType(SDL_Sensor *sensor);
引数
戻り値
(SDL_SensorType) センサーの種類を戻す. sensorがNULLのときSDL_SENSOR_INVALIDを戻す.
バージョン
SDL 3.2.0以降
SDL Wikiへのリンク
SDL_GetSensorType - SDL Wiki