34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
|
<HTML>
|
||
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
||
|
<BODY>
|
||
|
|
||
|
<A HREF="ng2edd5.html">[<<Previous Entry]</A>
|
||
|
<A HREF="ng320.html">[^^Up^^]</A>
|
||
|
<A HREF="ng2f4d7.html">[Next Entry>>]</A>
|
||
|
<A HREF="menu.html" >[Menu]</A>
|
||
|
<A HREF="info.html">[About The Guide]</A>
|
||
|
<HR>
|
||
|
<PRE>
|
||
|
<B>STICK Joystick Coordinates</B>
|
||
|
|
||
|
<U>y</U> = <B>STICK</B>(<U>n</U>)
|
||
|
|
||
|
Returns the x or y coordinate for joystick A or B.
|
||
|
|
||
|
<U>n</U> A numeric expression in the range 0 to 3. Determines what
|
||
|
kind of information is returned, as follows:
|
||
|
|
||
|
0 Returns x coordinate of joystick A. A STICK(0) call
|
||
|
must be performed before STICK(1), STICK(2), or
|
||
|
STICK(3) can be used.
|
||
|
1 Returns the y coordinate of joystick A.
|
||
|
2 Returns the x coordinate of joystick B.
|
||
|
3 Returns the y coordinate of joystick B.
|
||
|
</PRE>
|
||
|
<HR>
|
||
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
||
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
||
|
<HR>
|
||
|
</BODY>
|
||
|
</HTML>
|