On OSX, the native system supports USB and ADB, I don't know about PS/2, I never tried.

.hc

On Aug 17, 2011, at 7:04 PM, Richie Cyngler wrote:

Thanks for all the responses, I'm going to give it a try.

On GNU/Linux, [hid] will work with PS/2 because the Linux input event system is a single unified system for almost all techniques of HID devices, including: PS/2, AT, USB HID, ADB, etc.

What about OSX? 

On Wed, Aug 17, 2011 at 2:09 AM, Hans-Christoph Steiner <hans@at.or.at> wrote:

On Aug 16, 2011, at 8:48 AM, Simon Wise wrote:

On 16/08/11 18:53, Richie Cyngler wrote:
That's a good idea but my computer doesn't have a PS/2 input.

[hid] is for usb, maybe [comport] would work with PS/2 if you used a PS/2 to usb connector??? or one of the older mouse objects? not sure, maybe the PS/2 to usb connector means that the trackball becomes a usb mouse?

If it does appear as a usb mouse then [hid] can certainly connect to it directly, which will probably be what you want.

You will need to do a few settings to your X setup, or your system, to make sure that the trackball does not become a mouse for the whole system.


On GNU/Linux, [hid] will work with PS/2 because the Linux input event system is a single unified system for almost all techniques of HID devices, including: PS/2, AT, USB HID, ADB, etc.

With the Arduino, if the data is simple, then it'd probably be easiest to just send it and then receive it with [comport].  It would also be not too hard to make a custom Firmata firmware using the PS/2 lib and Firmata lib in an Arduino sketch.  Check the Firmata examples.

.hc



----------------------------------------------------------------------------

"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman




_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



--
Richie



----------------------------------------------------------------------------

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