[PD] mouse or keyboard in

Lex Ein lex_ein at f-m.fm
Sat Jul 17 17:38:07 CEST 2004

If you haven't already solved the problem, Windows XP includes some 
"Accessibility" features
which may help in an odd way.
Start: Control Panel: Accessibility Options
 SerialKey devices - accepts formatted data through the serial port to 
perform mouse and keyboard actions.

If you have TWO extra serial ports and a crossover cable between them,
and the [com2000] Pd object, Pd could
1. Accept serial data from an arbitrary device (a Bird on Com3, say), 
parse the data,
2. output SerialKey commands out through Com2,
3. to the SerialKey port at Com1 (default port),
which would move XP's GUI mouse around the screen, and press keys, as 
you wish..

Here are the specifications for Serial Key devices::


zozizozu wrote:

> HI ,
> matthew jones wrote:
>> did you mean is there some way of writing into the keyboard/mouse 
>> buffer to
>> SIMULATE inputs that could be used to control applications OTHER than 
>> pd?
> That's it . I'm working with handicaped people and most of them can 
> not use their  hand or clic to manipulate softwares  .We  have some 
> tracking devices ( midi ,polhemus , webcam ,.. ) that we want to use 
> to drive other software .
>> as far as I know this is not possible so far (but I may be very wrong);
>> simulating mouse input makes no sense though, as it is unclear what 
>> it would
>> do with any real mouse input.
> So , ...I ' m not a dev , and don't know pd so mutch , but do you 
> think it ' ll be complex to write such object ?
> My only other solution is to midi control out a device that i plug 
> onto a real mouse wheel  ...°-(  Heavy !
>> if you just want to be able to use these inputs (mouse and keyboard) to
>> control pd patches then that is straightforward and Hans has already 
>> listed
>> a few such objects.
>> Matt
>> -=-=-=-=-=-=-=-=-=-=-=-=-
>> http://www.loopit.org/
>> -=-=-=-=-=-=-=-=-=-=-=-=-

More information about the Pd-list mailing list