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

Add mouse target (e.g. for controlling currently hovered parameter) #686

Closed
helgoboss opened this issue Sep 20, 2022 · 4 comments
Closed
Labels
enhancement New feature or request next realearn Related to ReaLearn

Comments

@helgoboss
Copy link
Owner

No description provided.

@helgoboss
Copy link
Owner Author

This is going to be possible, soon. At least with plug-ins that allow mouse wheel control of parameters. Maybe I also get mouse dragging to work, but let's see.

helgoboss added a commit that referenced this issue Sep 21, 2022
- #686 Experiment with a new mouse target
- Fix error when learning and loading some special keyboard keys on macOS
- Improve target control logging to include error
helgoboss added a commit that referenced this issue Sep 21, 2022
helgoboss added a commit that referenced this issue Sep 21, 2022
helgoboss added a commit that referenced this issue Sep 21, 2022
@helgoboss
Copy link
Owner Author

helgoboss commented Sep 21, 2022

Tested on macOS, Windows and Linux (Ubuntu).

Known issues:

  • "Move cursor to/by": Fast repeated invocations can actually result in less distance because the OS doesn't process each movement. Ideas:
    • Don't report the actual mouse position as current value but the last set one.
    • Throttle
  • "Move cursor to/by": Using a high-res fader with "Make relative" seems to do pretty large steps even if invoked very softly.
  • "Turn scroll wheel": Appeared to have a similar issue when turning fast as with moving the cursor. Investigate.
  • macOS: Simulating a drag works on REAPER's faders but not on REAPER's circular controls (but using wheel scroll simulation should be preferred anyway because the mouse cursor doesn't leave its initial position - not all plug-ins make sure the mouse cursor stays at position)
  • macOS: Not having "Accessibility" privilege granted will make ReaLearn panic (device_query crate issue)
  • Windows: When using "Move cursor to" with Y axis, the cursor doesn't stay on the same X coordinate. Better use "Move cursor by" for the time being.

@helgoboss
Copy link
Owner Author

A new issue has been created for the remaining issues. Not that important right now. The basics work quite well so far and users like it.

@orivej
Copy link

orivej commented Dec 1, 2022

Thank you for your work!
I have noticed that now (since v2.14.0) the Linux plugin ReaLearn-x64.so has a dynamic dependency on libxdo3: it is not just a build time dependency — end users have to install it too, otherwise Reaper fails to enable the plugin. It seems worth mentioning this in the installation instructions and in the changelog.

@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

2 participants