Forums > MaxMSP

Can Max send data to HID devices

January 16, 2010 | 10:28 am

Hi,

is there a way to have Max send data to a HID device? I looked at the documentation for the "hi" object, but no such method is documented.

Thanks,
Hans


January 16, 2010 | 3:39 pm

I’m new here but I’m going to go out on a limb and see if this is helpful :-)

Assuming by HID you mean Human Interface Device you might want to look at some of the starter monome examples. The monome (which you may already know) is a USB device that sends button presses and receives LED on/off messages – at it’s simplest level.

Max patches communicate with the monome using udpsend and udpreceive via a helper app called "MonomeSerial" on the Mac side – not sure what on Windows. You can find out more information (and another very helpful forum) at http://monome.org

So…I would consider the monome a HID – so hopefully this is helpful and can point you in the right direction.


January 16, 2010 | 3:48 pm

Take a look at the serial object as well :)


January 16, 2010 | 5:36 pm

I meant HID devices, right. The "hi" object (http://cycling74.com/docs/max5/refpages/max-ref/hi.html) is convenient in that one can directly read from HID devices connected by USB. The documentation does not show a way to send data back to the HID device, which is something I need to do with the wireless PS/3 Buzz controllers I try to use. I am hoping for an undocumented method that allows sending data. It would be nice to get away without additional helper applications.

Cheers,
Hans


January 17, 2010 | 1:35 pm

The monome isn’t actually a HID-class device – it uses FTDI to emulate a serial port over USB (hence the need for FTDI drivers).


Viewing 5 posts - 1 through 5 (of 5 total)