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

N3DS Offset/Scaled input mode reports wrong x/y coordinates to overlay #402

Open
m4-used-rollout opened this issue Mar 24, 2024 · 0 comments
Labels

Comments

@m4-used-rollout
Copy link
Member

The n3dsoffset and n3dsscaled input modes adapt DS touchscreen coordinates to the 3DS touchscreen in order to make it easier to play DS games on a 3DS. If someone attempts to tap 120,120, it should be translated to 152,120 to hit the DS bottom screen when the 3DS is rendering it at native resolution in the top middle of the screen (n3dsoffset) or 150,150 to target where the same spot on the DS touchscreen when it is scaled to 3DS touchscreen size (n3dsscaled).

Bug: The input sent to the overlay uses the translated (3DS) coordinates instead of the original (DS) coordinates. This means the overlay's touch display will show a touch in the wrong location, as it's assumed the overlay's touch display will be using DS coordinates if we're doing this translation in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant