CONTROL DEVICE Y This command will return the Y axis value of the current control device.
Syntax
    Return Integer=CONTROL DEVICE Y()
Returns
This command will return the y axis value of the current control device
Example Code
    rem Prepare Force Feedback (if available)

    ForcePresent=0

    empty checklist

    PERFORM CHECKLIST FOR CONTROL DEVICES

    for c=1 to checklist quantity()

    if checklist value a(c)=1

    SET CONTROL DEVICE checklist string$(c)

    ForcePresent=1

    endif

    next c

    rem Display data

    cls

    print "INPUT EXPRESSION DATA"

    print

    print "ForcePresent:";ForcePresent

    print "control device name:";CONTROL DEVICE NAME$()

    print "control device x:";CONTROL DEVICE X();

    print " y:";CONTROL DEVICE Y();

    print " z:";CONTROL DEVICE Z()

    do

    loop

    end
See also
INPUT Commands Menu Index