joystick-x-y-button

315821/joystick-x-y-button/joystick-x-y-button

No description
joystick-x-y-button
@/joystick-x-y-button
PORT Xport
AXIS X board ADC port the potentiometer is connected to.
PORT Yport
AXIS Y board ADC port the potentiometer is connected to.
PORT buttonport
Board port number the button is connected to.
joystick-x-y-button
PORT X
PORT Y
PORT button
VAL X
VAL Y
PRS
PRSboolean
Last read value. Equals to `true` while the button is pressed (hold down) and `false` while it is released.
VAL Ynumber
The last read potentiometer position in range [0.0, 1.0].
VAL Xnumber
The last read potentiometer position in range [0.0, 1.0].
To use the node in your project you should have the 315821/joystick-x-y-button library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.