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

feature suggestion: fast mouse movement #42

Open
jovrstra opened this issue Jul 24, 2024 · 3 comments
Open

feature suggestion: fast mouse movement #42

jovrstra opened this issue Jul 24, 2024 · 3 comments
Labels

Comments

@jovrstra
Copy link

Hello,
I was looking a long time for a program like this and will integrate it to control a PC from my Loxone server.

One feature suggestion: the projects https://github.com/rvaiya/warpd and https://github.com/EsportToys/TPMouse offer an interesting way of controlling the mouse cursor, particularly applicable when using an input that does not repeat well. I have not yet tried if these tools work alongside mcec, such functionality native in mcec would be useful.

J.

@tig
Copy link
Owner

tig commented Jul 24, 2024

Not exactly sure the use-case you have in mind, but MCEC already supports controlling the mouse.

See https://tig.github.io/mcec/documentation.html#:~:text=s%0Ashiftup%3Actrl-,Mouse%20Commands,-With%20Mouse%20commands

@tig tig added the question label Jul 24, 2024
@jovrstra
Copy link
Author

jovrstra commented Jul 24, 2024

Yes, and it even supports jumping to absolute locations. My use case is controlling the mouse from the app of my Loxone home automation. While this app theoretically repeats keypresses, it is often too slow which makes mouse-movement slow on high resolution displays.
The two projects I linked have a grid-mode which helps to quickly jump with the mouse to locations.: rather than relying on key repeat to travel large distances, it can be achieved with a couple of key presses. It may be quite a specific use case though... :-) And maybe both apps can run next to each other, which would also be a solution - I haven't been able to try that...

edit: I can of course define more keys that make bigger jumps with the mouse to facilitate movement.
edit2: I just realized that the limits for absolute movement are independent of resolution... that means I can achieve it by assigning buttons for absolute movement, keeping track of the absolute position values and changing them on subsequent presses (and reset them after some timeout). It would not have the visual aid as the tools I posted, but functionality wise it would work. (it would be more difficult to combine it with a remote though)

@jovrstra
Copy link
Author

Small follow-up question, as I'm trying to use warpd through mcec... how come hotkeys do not trigger for some programs?
I am running warpd alongside mcec, and while the hotkeys for warpd work when issued from the keyboard, they do not work when issued via mcec... Is it because mcec sends to the foreground window only? ( but e.g. the hotkey to launch the gamebar works when issued from mcec). Or is it related to e.g. the difference between left alt and right alt? (I cannot try with tpmouse for example as it uses left shift + right shift + g as a hotkey).

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

2 participants