antimicrox icon indicating copy to clipboard operation
antimicrox copied to clipboard

Absolute coordinates for mouse click

Open Edocecrous opened this issue 3 years ago • 1 comments

Hi,

I'm trying to use AntiMicroX to control a program called LightBurn. The main issue is, that this program doesn't have keys assigned to the directional buttons (JOG control). So i managed to make it work by using the mouse and spring function, limiting the max jump to the size of the control box, and then moving the application window to the right position. Of course this is a major hustle like this.

If it would be possible to set fixed absolute coordinates for the mouse moves that would be great.

So: -digital gamepad input right/left/whatever button -AntiMicroX records mouse position -AntiMicroX moves mouse to coordinates X, Y -AntiMicroX presses left mouse button -AntiMicroX restores mouse position

Thank you for this great application, hoping you are not too burdened to implement something like this...

Screenshot_2021-03-12_11-38-56


Upvote & Fund

  • If you find this issue important, mark it with 👍. It lets us see which fixes and features are demanded by the most users.
  • We're using Polar.sh so you can upvote and help fund this issue. It may incentivize some developers to contribute to this project and fix some issues.
  • Funded developer receives the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Edocecrous avatar Mar 12 '21 11:03 Edocecrous

It would need creating new type of slot. For proper implementation, some refactoring is needed.
Blocked by https://github.com/AntiMicroX/antimicrox/issues/376

Proper implementations of

    virtual void sendMouseAbsEvent(int xDis, int yDis, int screen);

would be needed for WIndows

pktiuk avatar Jul 31 '22 21:07 pktiuk