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

Added display orientation support #1165

Merged
merged 2 commits into from
Nov 12, 2021
Merged

Added display orientation support #1165

merged 2 commits into from
Nov 12, 2021

Conversation

OlegOAndreev
Copy link
Contributor

@OlegOAndreev OlegOAndreev commented Nov 1, 2021

Added SDL_GetDisplayOrientation bindings. Added SDL_DISPLAYEVENT bindings for tracking orientation changes. I am not 100% sure about transmute in DisplayEvent::from_ll and can re-do it like the WindowEvent does.

Unfortunately, this branch includes changes from #1164 as well.

@Cobrand Cobrand merged commit fe411c6 into Rust-SDL2:master Nov 12, 2021
@Cobrand
Copy link
Member

Cobrand commented Nov 12, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants