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

Hook Virtual Mouse Mode into ImGui #294

Open
3 of 6 tasks
Dormanil opened this issue Apr 7, 2021 · 0 comments
Open
3 of 6 tasks

Hook Virtual Mouse Mode into ImGui #294

Dormanil opened this issue Apr 7, 2021 · 0 comments

Comments

@Dormanil
Copy link
Contributor

Dormanil commented Apr 7, 2021

Description

You can move your mouse cursor in FFXIV with your controller in virtual mouse mode. I would like Dalamud to be able to send mouse presses to the ImGui interaction layer using that virtual mouse.

More info

Despite being a "virtual" mouse mode, FFXIV actually moves your physical mouse cursor (if the cursor was in FFXIV's window to begin with). Since turning all of ImGui controller friendly feels very infeasible to me, just being able to interact with ImGui via the virtual mouse mode would already improve the usability for couch potatoes and other controller-only players. For instance, FFXIV on Linux currently suffers from having to decide between Mouse OR Gamepad, because enabling Gamepad locks up FFXIV if you do movement with your hardware mouse.

Fulfilling this feature request would entail:

  • Noticing that FFXIV is in Virtual Mouse Mode
  • Knowing when a "virtual" mouse is hovering over ImGui elements (already done by virtue that the actual cursor is moved, not just a fake one)
  • Disabling clicking on the actual in-game UI when hovered over an ImGui element
  • Simulating a mouse-click for the hovered ImGui element

  • I checked if this request wasn't already proposed
  • I consider this request not to be out of scope for Dalamud
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

No branches or pull requests

1 participant