ctDeclaration">public function  setVec(x, y)</div><div class="DetailDescription">Sets the joystick to the given vector.  Must be preceded by call to moveHS if joystick is
being moved programmatically.</div><div class="DetailParamsTitle">Parameters:</div><div class="DetailParamsLine"><code>x</code> - x-coordinate position (<code>-maxVal</code> to <code>maxVal</code>)</div><div class="DetailParamsLine"><code>y</code> - y-coordinate position (<code>-maxVal</code> to <code>maxVal</code>)</div></div><div class="