The patch I am doing is for a workshop, so I'd like to be platform independent...
But thanks for the tip anyways!


2013/9/23 James Dunn <james@4thharmonic.com>
Yes I see what you mean. If you are on linux you could try [linuxevent] from here:

http://at.or.at/hans/pd/hid.html

I use this on Arch due to this bug:

http://sourceforge.net/p/pure-data/bugs/889/

[linuxevent] has finger detection so you can use this to gate the data stream.

Quoth s p, on 23/09/2013 12:29:
Yep, I tried that already, but that doesn't work if you move the mouse slowly.


2013/9/23 James Dunn <james@4thharmonic.com>
What about [change]?

Quoth s p, on 23/09/2013 11:12:
Hi!

I am trying to use [hid] on pd vanilla and Ubuntu.
Ideally, I would like to use the mouse as a fader on Y axis : when I move the mouse, the fader moves accordingly, when the mouse doesn't move the fader stays in the same position.

Problem is, I can get only relative Y, and relative Y seems to keep sending the value (1 or -1) from the last move, even if you don't move at all. So basically it is impossible to detect that the mouse is not moving.

Is there a workaround this issue?

Sebastien Piquemal


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list