Added the concept of display natural orientation

Also renamed SDL_GetDisplayOrientation() SDL_GetDisplayCurrentOrientation()

The natural orientation of the primary display is the frame of reference for accelerometer and gyro sensor readings.
This commit is contained in:
Sam Lantinga committed 2023-06-17 07:42:16 -07:00
1 parent 8de6ce7e92
commit e6d1ba2a17
20 files changed
+213 -79

No files matched your search

+5
View File
@@ -2668,3 +2668,8 @@ typedef SDL_cond, SDL_Condition;
- SDL_TLSCleanup
+ SDL_CleanupTLS
(...)
@@
@@
- SDL_GetDisplayOrientation
+ SDL_GetDisplayCurrentOrientation
(...)