Mouse click

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
CNC-man2
Posts: 2
Joined: 06 Feb 2020, 18:11

Mouse click

Post by CNC-man2 » 06 Feb 2020, 18:18

Sorry for the bad english.
Is it possible to fully emulate the left and right mouse click?
That is, so that the key on the keyboard begins to replace the mouse button, including drag and drop, selection, etc.

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Mouse click

Post by admin » 07 Feb 2020, 08:25

No
Petr Medek
LUAmacros author

CNC-man2
Posts: 2
Joined: 06 Feb 2020, 18:11

Re: Mouse click

Post by CNC-man2 » 07 Feb 2020, 11:50

admin wrote:
07 Feb 2020, 08:25
No
Thanks for the answer.
Can you add this feature for money?
I am ready to pay.

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Mouse click

Post by admin » 10 Feb 2020, 09:05

Thanks for the offer but frankly speaking - no. I was fighting with mouse features in HidMacros and I remember it never worked properly. I'm not even sure if it's technically possible - the advance features you're mentioning, like selection or dnd. Maybe only by writing emulated mouse driver and I don't plan to learn these skills :-)
Petr Medek
LUAmacros author

jarfil
Posts: 1
Joined: 26 Mar 2020, 04:14

Re: Mouse click

Post by jarfil » 26 Mar 2020, 04:29

I've done this for the middle mouse button in a somewhat circuitous way, by using LuaMacros + AutoHotkey and some intermediate hidden F23 + F24 for the down/up button actions.

LuaMacros:

Code: Select all

  if (button == 9) then
     if (direction == 1) then lmc_send_keys("{F23}"); -- middle button down
     elseif (direction == 0) then lmc_send_keys("{F24}"); -- middle button up
     end
  end
AutoHotkey:

Code: Select all

F23::Send {MButton down}
F24::Send {MButton up}

Post Reply