[PD] move cursor position

Jean-Yves Gratius jygratius at club.fr
Fri Jun 26 23:29:19 CEST 2009


I wrote an external for windowsXP (named input_event), inspired from
Patrice Colet kbdstroke object.
With it, you can simulate keyboard and mouse events.
JYG

Hans-Christoph Steiner a écrit :
>
> The mouse cursor is controlled by the Window Manager.  People have 
> made various attempts at making objects to control that.  There is a 
> working one for X11, donno about Windows or Mac OS X. Check the 
> archives, I think Alexandre Quessy wrote the x11 one, its something 
> like x11mouse.
>
> .hc
>
> On Jun 26, 2009, at 1:15 PM, Shawn Greenlee wrote:
>
>> thanks for that hc!
>>
>> though I could only figure out moving the mouse around in edit mode 
>> for selecting/moving canvas objects ( like the Help -> Browser-> 
>> manuals -> pd-msg -> 1.msg_and_patch -> 3.1.motion.pd ) - which would 
>> be the mouse, mouseup, and motion messages
>>
>> I can't seem to find a message that actually moves the user's cursor 
>> arrow in Play mode...
>>
>> for instance if I want to limit a cursor to a particular region of 
>> the screen (in Play mode) and have the cursor jump to another point 
>> on the screen when told
>>
>> this doesn't seem to be something documented in the manual under  
>> "messages to pd," but perhaps there's something I'm missing with 
>> regard to the "messages to canvas"
>>
>> sort of an idiosyncratic performance interface thing...  thanks!
>>
>>
>>
>> On Jun 26, 2009, at 10:56 AM, Hans-Christoph Steiner wrote:
>>
>>>
>>> Definitely. Check out the 'pd-msg' manual, its included in 
>>> Pd-extended in Help->Browser->manuals
>>>
>>> .hc
>>>
>>> On Jun 25, 2009, at 4:45 PM, Shawn Greenlee wrote:
>>>
>>>> hi folks,
>>>>
>>>> is there a pd command to force a cursor to a new position?
>>>>
>>>> a message something like:
>>>>
>>>> ; cursor
>>>> x_coordinate y_coordinate
>>>>
>>>> for instance I can do this in Max with a Max command:
>>>>
>>>> ; max
>>>> pupdate 400 500
>>>>
>>>>
>>>> thanks,
>>>> shawn
>>>>
>>>>
>>>> Shawn Greenlee
>>>> http://greenlee.02909.com
>>>> seg at 02909.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> 
>>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>>> ---------------------------------------------------------------------------- 
>>>
>>>
>>> Mistrust authority - promote decentralization.  - the hacker ethic
>>>
>>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ---------------------------------------------------------------------------- 
>
>
> Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  
> It's about as sensible to say we declare war on night attacks and 
> expect we're going to win that war.  We're not going to win the war on 
> terrorism.        - retired U.S. Army general, William Odom
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.375 / Virus Database: 270.12.92/2202 - Release Date: 06/25/09 17:58:00
>
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: input_event.zip
Type: application/zip
Size: 9854 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090626/2e011684/attachment.zip>


More information about the Pd-list mailing list