Page 1 of 1

Mouse click

Posted: 06 Feb 2020, 18:18
by CNC-man2
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.

Re: Mouse click

Posted: 07 Feb 2020, 08:25
by admin
No

Re: Mouse click

Posted: 07 Feb 2020, 11:50
by CNC-man2
admin wrote:
07 Feb 2020, 08:25
No
Thanks for the answer.
Can you add this feature for money?
I am ready to pay.

Re: Mouse click

Posted: 10 Feb 2020, 09:05
by admin
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 :-)

Re: Mouse click

Posted: 26 Mar 2020, 04:29
by jarfil
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}