Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed May 8, 2024
1 parent cd59247 commit 6424519
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SDL3/SDL_GetDisplayProperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ The following read-only properties are provided by SDL:
[SDL_EVENT_DISPLAY_HDR_STATE_CHANGED](SDL_EVENT_DISPLAY_HDR_STATE_CHANGED)
is sent.
On KMS/DRM:
- [`SDL_PROP_DISPLAY_KMSDRM_ORIENTATION_NUMBER`](SDL_PROP_DISPLAY_KMSDRM_ORIENTATION_NUMBER):
the "panel orientation" property for the display in degrees of clockwise
rotation. Note that this is provided only as a hint, and the application
is responsible for any coordinate transformations needed to conform to
the requested display orientation.
## Version
This function is available since SDL 3.0.0.
Expand Down
5 changes: 5 additions & 0 deletions SDL3/SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###### (This is the documentation for SDL3, which is under heavy development and the API is changing! [SDL2](https://wiki.libsdl.org/SDL2/) is the current stable version!)
# SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER

Please refer to [SDL_GetDisplayProperties](SDL_GetDisplayProperties) for details.

0 comments on commit 6424519

Please sign in to comment.