Joystick

Joystick This node provides information about the state of an installed joystick or gamepad.

The Joystick Node makes it possible to interact with a Ventuz scene via joystick or gamepad. This Node provides information about the state of a joystick's buttons and sticks. The input property Ordinal selects the specific joystick to be used by this node from a list of connected joysticks. The assigned ordinal can be changed in the Machine Configuration.
The property Active determines whether the Node is active and if it should react on the joystick activities.
If AutoDeactivate is enabled, this node will be automatically deactivated if the parent Hierarchy Container is blocked.

The Joystick node provides several output properties and events. The outputs X, Y, Z provide the position of the stick. The output property Z normally refers to the throttle control. If the joystick does not have this axis, the value is set to 0.

The properties in the category Buttons return True if the according button is pressed. The events in the category Pressed trigger an event if the according joystick button is pressed. The events in the category Released trigger an event if the according button is released. To find out the IDs of the joystick buttons go to Control Panel > Hardware and Sound > Devices and Printers, select a connected joystick and start Game Controller Settings.