Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL API renaming: SDL_sensor.h #6888

Closed
slouken opened this issue Dec 23, 2022 · 1 comment
Closed

SDL API renaming: SDL_sensor.h #6888

slouken opened this issue Dec 23, 2022 · 1 comment

Comments

@slouken
Copy link
Collaborator

slouken commented Dec 23, 2022

Here are proposed name changes for functions in SDL_sensor.h, per discussion in #6569

SDL_LockSensors
SDL_NumSensors => SDL_GetNumSensors
SDL_SensorClose => SDL_CloseSensor
SDL_SensorFromInstanceID => SDL_GetSensorFromInstanceID
SDL_SensorGetData => SDL_GetSensorData
SDL_SensorGetDeviceInstanceID => SDL_GetSensorDeviceInstanceID
SDL_SensorGetDeviceName => SDL_GetSensorDeviceName
SDL_SensorGetDeviceNonPortableType => SDL_GetSensorDeviceNonPortableType
SDL_SensorGetDeviceType => SDL_GetSensorDeviceType
SDL_SensorGetInstanceID => SDL_GetSensorInstanceID
SDL_SensorGetName => SDL_GetSensorName
SDL_SensorGetNonPortableType => SDL_GetSensorNonPortableType
SDL_SensorGetType => SDL_GetSensorType
SDL_SensorOpen => SDL_OpenSensor
SDL_SensorUpdate => SDL_UpdateSensors
SDL_UnlockSensors

@libsdl-org/a-team for discussion

@icculus
Copy link
Collaborator

icculus commented Dec 27, 2022

Thumbs up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants