 all to allow event to be generated.  This is only respected for the onJReturned event, since onJChg is triggered at the pulse interval not as a result of setting the joystick vector</div></div><div class="DetailRow"><a name="getVec"></a><div class="DetailObjectTitle">getVec</div><div class="DetailObjectDeclaration">public function  getVec()</div><div class="DetailDescription">Returns the vector position of the joystick, in an object with x and y properties.  Note that
the object is reused for subsequent ca