[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
STICK                    Joystick Coordinates

 y = STICK(n)

    Returns the x or y coordinate for joystick A or B.

           n    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.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson