Author Topic: A simple thing..  (Read 1913 times)

d3f

  • Newbie
  • *
  • Posts: 2
A simple thing..
« on: March 16, 2024, 06:14:20 AM »
I need help in simple thing please.

While i'm pressing "w" i want to press "middle mouse button" until i release "w"

Thanks.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: A simple thing..
« Reply #1 on: March 16, 2024, 07:15:21 AM »
Create a command, configure it to execute when the W key is pressed (I.E. leave the "Shortcut is invoked only when all keys are released" option unchecked), and add a mouse click action that presses the middle mouse button.

Then, create another command, configure it to execute when the W key is released (by checking the "Shortcut is invoked only when all keys are released" option), and add a mouse click action that releases the middle mouse button.

d3f

  • Newbie
  • *
  • Posts: 2
Re: A simple thing..
« Reply #2 on: March 16, 2024, 07:48:08 AM »
Thank you at start didn't work because "w" was not triggering itself so i add press "w" and pause between. But you made me figure it out.

 ;)