[PD] Mouse data without Xorg boundaries

Jonathan Wilkes jancsika at yahoo.com
Thu May 24 00:55:07 CEST 2012


Yeah, I left out that I also opened the help patch, and the deltas were still being output when the mouse pointer 

hit the edge of the screen in x.

-Jonathan




>________________________________
> From: Tyler Leavitt <thecryoflove at gmail.com>
>To: Jonathan Wilkes <jancsika at yahoo.com> 
>Cc: pd-list <pd-list at iem.at> 
>Sent: Wednesday, May 23, 2012 3:52 PM
>Subject: Re: [PD] Mouse data without Xorg boundaries
> 
>
>Jonathan,
>
>
>Heh... well I did mention in my post that I tried that already and it didn't do what I wanted it to. But then I tried it again at your urging and voila! For some reason I missed that my first try.
>
>
>Thanks,
>Tyler 
>
>
>On Wed, May 23, 2012 at 12:05 PM, Jonathan Wilkes <jancsika at yahoo.com> wrote:
>
>Hi Tyler,
>>     I used my search plugin to search for objects tagged with the "user_input" keyword and found:
>>
>>
>>cyclone/MouseState  
>>report mouse x/y/deltax/y and buttonpress 
>>Keywords: control max_compatible user_input
>>
>>
>>Since it gives you delta x/y I think it will solve your problem.
>>
>>
>>-Jonathan
>>
>>
>>
>>>________________________________
>>> From: Tyler Leavitt <thecryoflove at gmail.com>
>>>To: pd-list <pd-list at iem.at> 
>>>Sent: Wednesday, May 23, 2012 12:19 PM
>>>Subject: [PD] Mouse data without Xorg boundaries
>>> 
>>>
>>>
>>>Hello list,
>>>
>>>
>>>Not sure if the title explains it concisely enough, but I'm looking to get mouse data without the screen limits of X. So basically when I drag the mouse to the far-right boundary of the screen and continue dragging, though my pointer stays the same on the screen, obviously there is still data being sent from the optical mouse to the comp that states I am moving right. How can I get this data? I'm mounting an optical mouse upside down under a wheel and I want to read that data. I thought MouseState from cyclone libs would give me this with the "delta" x and y, but those are confined to Xorg's limits as well. Any ideas? I don't feel confident in hacking mouse drivers without guidance....
>>>
>>>
>>>Thanks,
>>>Tyler
>>>_______________________________________________
>>>Pd-list at iem.at mailing list
>>>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120523/c1596d5e/attachment.htm>


More information about the Pd-list mailing list