Disco_Steve ·
I couldn't see a module So I've made one, the idea is to drag a window around by holding down right click rather than using the scroll bars.
but it simply refuses to work.
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Disco_Steve ·
I couldn't see a module So I've made one, the idea is to drag a window around by holding down right click rather than using the scroll bars.
but it simply refuses to work.
trogluddite ·
Just had a little fiddle with the schematic - it seems that the Mouse Move primitive stops sending the new position whenever either mouse button is held down (connect the trigger counter direct to the mouse move and you'll see). Seems odd, I wouldn't have expected that, it makes it damn hard to get the pointer position that you need.
EDIT: Just tested this, it's definitely the Mouse Area, just stops sending values if a button is held down.
DigitalWhiteByte ·
I use a trick, which is to connect a primitive "Mouse Drag" at the area you want to use, even if not used any of its output, so the mouse coordinates are always updated with mouse clicks.
trogluddite ·
Top Tip sunsynth! Thanks. Got a few things that could do with using the right mouse.
Disco_Steve ·
it still doesn't work for me? can you upload a working version? the mouse messages still simply stop on right mouse click drag
DigitalWhiteByte ·
Now I am with my iphone, just have on my PC, put something, sorry.
Disco_Steve ·
no probs I can be patient
DigitalWhiteByte ·
ok I am at home, and in fact even with my trick only works with the left mouse button. I think, however, is attributable to the fact that the only button defined for the drag is the left. then drag did just right-click it I think it's impossible, but you could try with the combination of left and right button of mouse used on it, as long as you have already implemented them for other functions.
trogluddite ·
It's also fairly simple to arrange a drag with a modifier key (e.g. SHIFT-drag, CTRL-drag)
infuzion ·
trogluddite wrote: It's also fairly simple to arrange a drag with a modifier key (e.g. SHIFT-drag, CTRL-drag)
I think one can use a right-click as a modifier, as well as a middle-mouse click.
exonerate ·
infuzion wrote: trogluddite wrote: It's also fairly simple to arrange a drag with a modifier key (e.g. SHIFT-drag, CTRL-drag)
I think one can use a right-click as a modifier, as well as a middle-mouse click.
Yeah can be done with a modifier key for right click and the "mouse move" primitive. Not at my SM machine at the moment so cannot knock up an example.
Cheers 😉
Exo
infuzion ·
exonerate wrote: infuzion wrote: trogluddite wrote: It's also fairly simple to arrange a drag with a modifier key (e.g. SHIFT-drag, CTRL-drag)
I think one can use a right-click as a modifier, as well as a middle-mouse click.
Yeah can be done with a modifier key for right click and the "mouse move" primitive. Not at my SM machine at the moment so cannot knock up an example.
Thanks for confirming this! /me hands exo a ten-bill under the table
Wrote something here? To have a post removed or your name hidden, write to [email protected].