[PD] raw mouse

michael strohmann itsnotfair9 at gmail.com
Wed Feb 26 18:20:02 CET 2020


yep, i need the delta.
mouse sits on something like a turntable or jog-wheel and i want direction and turning speed to control the playback position in a file..

MouseState stops to spill out values as soon as one reaches the end of the screen or window - if i am not missing something.

if i try 
sudo apt-get install pd-hid
i get
E: Unable to locate package pd-hid

….

> On 26.02.2020, at 16:11, Alexandre Torres Porres <porres at gmail.com> wrote:
> 
> I tried hid and it seems it only gives the delta... and so does mousestate
> 
> Em qua., 26 de fev. de 2020 às 12:02, Alexandre Torres Porres <porres at gmail.com <mailto:porres at gmail.com>> escreveu:
> so, what do you mean, what is the range of these continuous values?
> 
> Em qua., 26 de fev. de 2020 às 11:29, Simon Iten <itensimon at gmail.com <mailto:itensimon at gmail.com>> escreveu:
> output continuous values, and not screen position... a mouse just puts out values when moved in any directions (x-y combo) the OS displays the cursor and updates the position on the screen based on those values. he wants the values directly from the mouse, not relative to the screen, resolution etc.
> 
> On Wed, Feb 26, 2020, 15:20 Alexandre Torres Porres <porres at gmail.com <mailto:porres at gmail.com>> wrote:
> 
> 
> Em qua., 26 de fev. de 2020 às 11:02, michael strohmann <itsnotfair9 at gmail.com <mailto:itsnotfair9 at gmail.com>> escreveu:
> thanks for the fast reply!
> 
> [cyclone/mousestate] and [else/mouse] output mouse position relative to the patcher window, or screen….i would need an endless stream of readouts.
> 
> what do you mean by "an endless stream of readouts."?
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200226/a6d94fe2/attachment.html>


More information about the Pd-list mailing list