Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse triggers question
#1
Hello again, and thank you for all your help thus far

I'm trying to perform a mouse trigger, separately when the left mouse button+Ctrl are pressed and separately and when they are released.

I attempted the following in the mouse trigger module:
        Triggers.Mouse[TMClick.Left,"Ctrl"]= o => {   
            /////code////;
            /////code////;
            /////code////;
            print.it(mouse.isPressed(MButtons.Left));
            mouse.waitForNoButtonsPressed();
            /////more code code////;
            /////more code code////;
            };

Then pressing and holding left mouse button, but apparently print.it(mouse.isPressed(MButtons.Left) returns false even as I continue to press and hold

Also, using separately the following mouse triggers don't seem to work:
Triggers.Mouse[TMClick.Left,"Ctrl"]= o => /////code////;
Triggers.Mouse[TMClick.Left,"Ctrl",TMFlags.ButtonModUp]= o => /////code////;

Thanks in advance as always


Messages In This Thread
Mouse triggers question - by cuitino - 08-16-2024, 03:23 AM
RE: Mouse triggers question - by Gintaras - 08-16-2024, 04:15 AM
RE: Mouse triggers question - by Gintaras - 08-16-2024, 04:44 AM
RE: Mouse triggers question - by cuitino - 08-16-2024, 11:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)