52typedef struct _SDL_Sensor SDL_Sensor;
103#define SDL_STANDARD_GRAVITY 9.80665f
144extern DECLSPEC
void SDLCALL SDL_UnlockSensors(
void);
DECLSPEC void SDLCALL SDL_LockSensors(void)
Sint32 SDL_SensorID
Definition: SDL_sensor.h:60
DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetDeviceType(int device_index)
DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor *sensor, float *data, int num_values)
DECLSPEC void SDLCALL SDL_SensorUpdate(void)
DECLSPEC int SDLCALL SDL_NumSensors(void)
DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetType(SDL_Sensor *sensor)
DECLSPEC SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index)
DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor *sensor)
DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetDeviceInstanceID(int device_index)
DECLSPEC int SDLCALL SDL_SensorGetDeviceNonPortableType(int device_index)
DECLSPEC const char *SDLCALL SDL_SensorGetName(SDL_Sensor *sensor)
SDL_SensorType
Definition: SDL_sensor.h:70
@ SDL_SENSOR_GYRO_L
Definition: SDL_sensor.h:76
@ SDL_SENSOR_INVALID
Definition: SDL_sensor.h:71
@ SDL_SENSOR_GYRO
Definition: SDL_sensor.h:74
@ SDL_SENSOR_ACCEL_R
Definition: SDL_sensor.h:77
@ SDL_SENSOR_UNKNOWN
Definition: SDL_sensor.h:72
@ SDL_SENSOR_ACCEL
Definition: SDL_sensor.h:73
@ SDL_SENSOR_ACCEL_L
Definition: SDL_sensor.h:75
@ SDL_SENSOR_GYRO_R
Definition: SDL_sensor.h:78
DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetInstanceID(SDL_Sensor *sensor)
DECLSPEC int SDLCALL SDL_SensorGetNonPortableType(SDL_Sensor *sensor)
DECLSPEC SDL_Sensor *SDLCALL SDL_SensorFromInstanceID(SDL_SensorID instance_id)
DECLSPEC int SDLCALL SDL_SensorGetDataWithTimestamp(SDL_Sensor *sensor, Uint64 *timestamp, float *data, int num_values)
DECLSPEC const char *SDLCALL SDL_SensorGetDeviceName(int device_index)