Removed SDL_HINT_ACCELEROMETER_AS_JOYSTICK

Sensors are a first-class object in SDL and we haven't gotten any feedback that this feature is useful these days.

Closes https://github.com/libsdl-org/SDL/pull/7879
This commit is contained in:
Sam Lantinga committed 2024-02-12 09:54:33 -08:00
1 parent 5af7113842
commit 9ce7fe2848
12 files changed
+55 -203

No files matched your search

-9
View File
@@ -47,15 +47,6 @@
extern "C" {
#endif
/**
* Set if Android/iOS accelerometers should be listed as joystick devices.
*
* This variable can be set to the following values:
* "0" - The accelerometer is not listed as a joystick
* "1" - The accelerometer is available as a 3 axis joystick (the default).
*/
#define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"
/**
* Specify the behavior of Alt+Tab while the keyboard is grabbed.
*