Getting data from a usb device such as a gamepad is easy with [hi] object, but is there a way to actually SEND data as easily ?
As a lot of gamepads have this vibration (or "rumble") function, and i’d like to be able to launch it from max.
My guess is that the tactile feedback is waaaay inside of the loop of the design that sends the basic output and you’re going to have to hack the circuit to get at it (and find a way to do that with Max output) unless there’s some kind of slightly more exotic controller out there used in, say, an online multiplayer environment where the game lets you vibrate someone else’s pad. But it’s just a guess.
It’s a little tricky to send data, because the device has to be set up for it. We did this for Jeff Snyder’s manta, but both the manta itself and the code had to work together for data-sending.
I thought it was in the domain of possible…. If a gamepad has got this rumble thing, it means it’s designed to get some info from a game/program ???
Might contact some game developers :)
Sending data is part of the HID specs. Max’s [hi] object does not support it (unless this has changed in Max 5, which I doubt). So in theory (and if your device is completely HID conform) you can send a value to the device that determines the speed of the internal motors which generate the rumble. Some details can be found in a NIME paper from 2007: http://www.nime.org/2007/proc/nime2007_375.pdf
C74 RSS Feed | © Copyright Cycling '74