Re: [LAD] Mouse/knob interaction

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Tuesday, September 7, 2010 - 11:02 pm

On September 7, 2010 02:20:10 pm Gordon JC Pearce wrote:

A quick check of our MusE knobs shows it's circular motion.

Circular or linear doesn't really bother me too much,
but if linear, then both up/down AND left/right should
operate the knob. I've seen some that do one but not the other.

However, I would like to share with you a 'patented' (he he)
technique I developed a long time ago:

When the mouse cursor goes to the edge of the screen you
have no more movement, forcing you to pick up the mouse
and go back to another position away from the screen edge
and continue adjusting.

So here's what you do in the coding:
When the control is clicked, you turn off the mouse cursor so that
it is always INVISIBLE during adjustment, then you force it to the
CENTRE of the screen, and wait for some mouse movement.
When movement happens, you record how much it moved (delta)
and use that to adjust the control's value (as usual), and then you
FORCE the mouse cursor right back to the CENTRE of the screen again,
waiting for more mouse movement, and the whole process repeats.
Then when the control is un-clicked, you force the mouse cursor
back to where it originally would have been, and turn it on again
so it's visible.

This way the mouse NEVER reaches the edge of the screen during
adjustment, although it may physically reach the edge of your desk.
However, with trackball mice you can keep on rolling and rolling, and
the control keeps adjusting without end !

I used this technique in a 'spinbox' derivative which I call 'RollEdit'.
I hate reeeeally tiny spinbox up/down arrows, and waiting for them
to increment, don't you?
With my 'RollEdit', you simply click anywhere in the edit portion
and start rolling, and rolling, and rolling, and the value keeps
going and going and going... No mouse repositioning needed.

I also used it in 3D modelling apps: You click anywhere in a 'scene'
and start rolling, and the zoom or viewer position (for example)
just keeps going and going. No visible mouse cursor to get in the way.
Excellent with trackballs !

(AutoDesk's 3D Studio at one time came close to this, but they
messed it up by leaving the mouse cursor visible and making
it 'wrap around' the edges of the screen. Like the game Asteroids,
very annoying.)

All of that work was in Windows and it was very complicated because
you can receive multiple mouse movement messages for just one
movement.

I've always wondered if Linux would be able to handle this technique
better than in Windows. Never investigated yet. Opinions?

In MusE, when you click on any slider, even in the slider trough area,
the mouse cursor is FORCED to the centre of the slider knob.
I did this to help with automation, so that you could easily 'grab' the
slider knob even while it was in fast motion due to existing automation
movements.

Gotta go! Looks like bad thunderstorm here!

Thanks. Tim.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Mouse/knob interaction, Gordon JC Pearce, (Tue Sep 7, 6:20 pm)
Re: [LAD] Mouse/knob interaction, Niels Mayer, (Thu Sep 16, 12:18 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Thu Sep 16, 6:53 pm)
Re: [LAD] Mouse/knob interaction, Jörn Nettingsmeier, (Thu Sep 16, 8:46 am)
Re: [LAD] Mouse/knob interaction, Gabriel M. Beddingfield, (Tue Sep 7, 6:23 pm)
Re: [LAD] Mouse/knob interaction, Chris Cannam, (Tue Sep 7, 7:24 pm)
Re: [LAD] Mouse/knob interaction, Gordon JC Pearce, (Tue Sep 7, 7:44 pm)
Re: [LAD] Mouse/knob interaction, Chris Cannam, (Tue Sep 7, 8:18 pm)
Re: [LAD] Mouse/knob interaction, Jens M Andreasen, (Thu Sep 9, 2:15 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Tue Sep 7, 6:25 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 7, 7:11 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Tue Sep 7, 7:24 pm)
Re: [LAD] Mouse/knob interaction, hermann, (Wed Sep 8, 7:21 am)
Re: [LAD] Mouse/knob interaction, Folderol, (Tue Sep 7, 6:34 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Tue Sep 7, 6:38 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 7, 7:44 pm)
Re: [LAD] Mouse/knob interaction, Gordon JC Pearce, (Tue Sep 7, 7:58 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 7, 8:15 pm)
Re: [LAD] Mouse/knob interaction, Loki Davison, (Fri Sep 10, 12:37 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Fri Sep 10, 12:33 pm)
Re: [LAD] Mouse/knob interaction, hermann, (Fri Sep 10, 4:06 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Sat Sep 11, 5:36 pm)
Re: [LAD] Mouse/knob interaction, Gordon JC Pearce, (Sat Sep 11, 8:45 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Sun Sep 12, 10:39 am)
Re: [LAD] Mouse/knob interaction, Johannes Kroll, (Tue Sep 14, 4:27 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Tue Sep 14, 4:46 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Wed Sep 15, 12:27 pm)
Re: [LAD] Mouse/knob interaction, Thorsten Wilms, (Sun Sep 12, 11:35 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Sun Sep 12, 12:17 pm)
Re: [LAD] Mouse/knob interaction, hermann, (Sat Sep 11, 6:23 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Sun Sep 12, 10:29 am)
Re: [LAD] Mouse/knob interaction, hermann, (Tue Sep 14, 3:07 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 14, 10:44 am)
Re: [LAD] Mouse/knob interaction, Loki Davison, (Sun Sep 12, 12:05 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Mon Sep 13, 1:53 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Mon Sep 13, 2:55 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Mon Sep 13, 2:38 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Mon Sep 13, 2:45 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 14, 8:49 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Wed Sep 15, 2:53 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Thu Sep 16, 8:52 am)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Thu Sep 16, 3:01 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Thu Sep 16, 6:06 pm)
Re: [LAD] Mouse/knob interaction, Igor Brkic, (Wed Sep 15, 7:39 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Wed Sep 15, 10:32 am)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Wed Sep 15, 10:56 am)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Tue Sep 14, 10:03 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Mon Sep 13, 8:14 pm)
Re: [LAD] Mouse/knob interaction, Thorsten Wilms, (Tue Sep 14, 7:14 am)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 14, 10:27 am)
Re: [LAD] Mouse/knob interaction, Gordon JC Pearce, (Tue Sep 7, 7:43 pm)
Re: [LAD] Mouse/knob interaction, hermann, (Tue Sep 7, 6:29 pm)
Re: [LAD] Mouse/knob interaction, Gabriel M. Beddingfield, (Tue Sep 7, 6:34 pm)
Re: [LAD] Mouse/knob interaction, Folderol, (Tue Sep 7, 6:37 pm)
Re: [LAD] Mouse/knob interaction, hermann, (Tue Sep 7, 6:42 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Tue Sep 7, 10:01 pm)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 8:36 am)
Re: [LAD] Mouse/knob interaction, Andrew Bryant, (Wed Sep 8, 2:36 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 5:19 pm)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 7:06 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 8:02 pm)
Re: [LAD] Mouse/knob interaction, Paul Davis, (Wed Sep 8, 8:15 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 9:24 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 9:38 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Wed Sep 8, 10:37 pm)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 8:19 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 8:47 pm)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 10:38 pm)
Re: [LAD] Mouse/knob interaction, , (Wed Sep 8, 8:38 pm)
Re: [LAD] Mouse/knob interaction, Alex, (Wed Sep 8, 9:38 pm)
[LAD] X behaviour (was Mouse/knob interaction), Andrew Bryant, (Thu Sep 9, 5:51 am)
Re: [LAD] X behaviour (was Mouse/knob interaction), Pedro Lopez-Cabanillas, (Thu Sep 9, 6:11 am)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 10:28 pm)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Wed Sep 8, 3:36 pm)
Re: [LAD] Mouse/knob interaction, Andrew Bryant, (Wed Sep 8, 4:19 pm)
Re: [LAD] Mouse/knob interaction, Arnold Krille, (Wed Sep 8, 10:06 am)
Re: [LAD] Mouse/knob interaction, , (Tue Sep 7, 8:18 pm)
Re: [LAD] Mouse/knob interaction, David Adler, (Tue Sep 7, 10:15 pm)
Re: [LAD] Mouse/knob interaction, Chris Cannam, (Tue Sep 7, 8:31 pm)
Re: [LAD] Mouse/knob interaction, , (Tue Sep 7, 8:54 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 7, 8:35 pm)
Re: [LAD] Mouse/knob interaction, Gordon JC Pearce, (Tue Sep 7, 8:51 pm)
Re: [LAD] Mouse/knob interaction, Gabriel M. Beddingfield, (Tue Sep 7, 8:57 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Tue Sep 7, 11:06 pm)
Re: [LAD] Mouse/knob interaction, Folderol, (Wed Sep 8, 7:47 pm)
Re: [LAD] Mouse/knob interaction, Tim E. Real, (Tue Sep 7, 11:02 pm)
Re: [LAD] Mouse/knob interaction, Olivier Guilyardi, (Wed Sep 8, 11:37 am)
Re: [LAD] Mouse/knob interaction, hermann, (Wed Sep 8, 5:30 am)
Re: [LAD] Mouse/knob interaction, Philipp Überbacher, (Tue Sep 7, 6:27 pm)