Re: [LAD] LV2-C++-Tools

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Aurélien <blablack@...>
Cc: <Fons@...>, <linux-audio-dev@...>
Date: Sunday, March 25, 2012 - 3:00 pm

On Sun, 2012-03-25 at 10:08 +0100, Aurélien Leblond wrote:


FWIW, that is a sensible position for the plugin-side code[1], but
there's nothing wrong with reading the mouse in the UI. It's pretty
unlikely you're *not* going to read the mouse in the UI...

It is questionable to be constantly reading the global mouse position in
a UI, i.e. directly reading the mouse, but it's fine to implement an XY
pad and the like. You don't have to constrain the mouse motion to the
actual pad on the screen, just make it only actually work if the user
starts a drag in the pad, or does something explicit.

If you really want to avoid the need to drag, you could have a 'grab
mouse' toggle button in the UI, perhaps. The main thing is the user
should be explicitly doing something, rather than a UI indescriminately
reading the mouse position at all times.


[1] Though I am not so sure I agree, a plugin that talks to a controller
and sends control data seems pretty useful to me

Linux-audio-dev mailing list

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

Messages in current thread:
[LAD] LV2-C++-Tools, Aurélien Leblond, (Sun Mar 25, 9:08 am)
Re: [LAD] LV2-C++-Tools, David Robillard, (Sun Mar 25, 3:00 pm)