Re: [PD] Mouse data without Xorg boundaries
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 >To: Jonathan Wilkes >Cc: pd-list >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 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 >>>To: pd-list >>>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@iem.at mailing list >>>UNSUBSCRIBE and account-management -> >>>http://lists.puredata.info/listinfo/pd-list >>> >>> >>> > > >___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 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 > *To:* pd-list > *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@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Mouse data without Xorg boundaries
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 >To: pd-list >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@iem.at mailing list >UNSUBSCRIBE and account-management -> >http://lists.puredata.info/listinfo/pd-list > > >___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list