This is a scripting xtra for Macromedia/Adobe Director. It allows you to view installed devices on the PC as well as provides communication with HID-USB devices.
Price: $0
Mediamacros makes no guarantees that this price is correct
HasNext() -- Returns true if their are any messages received from UDP,
TCP or HID USB
GetNext() -- Returns the next message in the queue received from UDP,
TCP or HID USB
DestroyAllThreads() -- Stops all UDP, TCP, and HID communications
GetListOfDevices() -- Returns a list of every device connected to
the computer.
Beta features: (unstable)
GetListOfHIDDevices() -- Returns the VendorID, VersionNumber and
ProductID of all HID devices connected to your computer.
Alpha features: (Untested) -- Avoid using these
SendDataToHIDDevice(Message) -- sends a message up to 64kbytes to
the first active USB device... avoid multiple USB connections on the same
xtra object. Returns -1 if you did not create a USB connection.
InitGetDataFromHIDDevice( vendorID, ProductID, VersionNumber) --
Creates a communication for the specified USB device
INSTALLATION
Simply extract and copy "DeviceXtra.x32" to your xtra directory of your Director Installation
Basically a closing parameter in this application, it ensures that the memory is
cleaned of any remaining unread messages and closes all open ports that it was using.
Starts a thread to get all incoming data from the specified USB device...
0 for any value becomes a wildcard. Be as specific as possible to connect to the
right device. Extremely unstable.
USAGE:
object = new(xtra "DeviceXtra")
put object.InitGetDataFromHIDDevice(vendorID, productID, versionNumber)
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA