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

InputCommon: Make "Cursor" inputs aware of the rendered aspect ratio. #8581

Merged
merged 1 commit into from
Jan 25, 2020

Conversation

jordan-woyak
Copy link
Member

This adjusts ControllerInterface's mouse cursor inputs to the region of the render window actually being used.

Previously, the mouse cursor and in-game pointer diverged with any letterboxing/pillarboxing.
Adjustments to "Total Yaw" and "Total Pitch" could be used to compensate but that is no longer necessary.

Before: https://i.imgur.com/2Lb8MOt.png
After: https://i.imgur.com/K7PfLKn.png

@Tilka Tilka merged commit b0e0404 into dolphin-emu:master Jan 25, 2020
@jordan-woyak jordan-woyak deleted the ciface-ar-aware branch January 25, 2020 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants