HID to MIDI conversion

HID to MIDI control example

this is not so much a QC-ciip but an example to coding illiterates (of which i'm a proud member) of just how easy it is to start using joysticks, PS2-pads, steering wheels, whatever in VDMX. I have this clip running in the background in QT player, and it converts the HID input signals to MIDI, then sends it to VDMX. i then use regular MIDI detect to pick up on the signal within VDMX.

this example uses a logitech attack joystick, but it could be anything. 

it's not much, but i felt i had to give something, anything, to this community from which i've snagged to much code :)