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

Rotate the pointer like in desmume #253

Open
3 tasks done
RetroRibbon opened this issue Feb 3, 2025 · 3 comments
Open
3 tasks done

Rotate the pointer like in desmume #253

RetroRibbon opened this issue Feb 3, 2025 · 3 comments
Labels
enhancement New feature or request input For issues related to input.

Comments

@RetroRibbon
Copy link

What would you like to see?

Hello,

I would like to see the feature to rotate the screen or the pointer in melonds-ds.
I am using the latest version of RetroArch with the melonds-ds core, and I have set up the Duimon-Mega-Bezel for the melonds-ds core.
For example, "Hotel Dusk" is a game where you need to rotate the device/screen, and for this situation, there is a bezel preset (NDS_Vertical_Book-***.slangp) that handles this automatically for the user.
However, when I apply the preset, the mouse movements are not aligned correctly: up/down movements are swapped with left/right, and vice versa.

I have found an option in the DeSmuME core to rotate the pointer, and when I use this option, the mouse movements align correctly.

Is it possible to integrate the same feature into melonds-ds?

Terms

  • I agree to follow the code of conduct.
  • I understand that melonDS DS is not developed or maintained by the authors of melonDS.
  • I understand that the author develops this core in his spare time, and that he is under no obligation to respond to this feature request.
@RetroRibbon RetroRibbon added the enhancement New feature or request label Feb 3, 2025
@JesseTG JesseTG added the input For issues related to input. label Feb 3, 2025
@JesseTG
Copy link
Owner

JesseTG commented Feb 4, 2025

Could you show me a screenshot of the behavior you expect from DeSmuMe, and the (closest you can get to an) equivalent in melonDS DS? Being able to visualize this will help me understand your request later.

@RetroRibbon
Copy link
Author

RetroRibbon commented Feb 4, 2025

https://streamable.com/xvw87b

I used a fresh install of the latest stable version of RetroArch and melonds-ds, and set up the DuimonsMegaBezel-Set.

In the first 10 seconds, you can see the vanilla screen without an applied shader. The mouse moves normally: up and down are correct, and left and right are also working as expected.

From seconds 14 to 24, I applied the shader, and the mouse movement starts to behave incorrectly. Up and down are now mapped to left and right, and when I move the mouse left and right, the screen movements go up and down.

When setting up the MegaBezel, you should deactivate the option to allow rotation. If I enable that option and rotate the screen in the core options, the applied shader becomes distorted, and the mouse movement behaves incorrectly. (From second 25 to the end)

(The rainbow colors were not on my screen; they only appear in the video.)

In the desmume-core, there is an option in the Quick Menu->Core Options->Input to rotate the pointer by 90/180/270 degrees. Using the 90° option, everything works normally and as it should.

@JesseTG
Copy link
Owner

JesseTG commented Feb 4, 2025

Thanks for clarifying, I'll look into this when I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input For issues related to input.
Projects
None yet
Development

No branches or pull requests

2 participants