|How To Setup The Joystick|
Supplemental Object Documentation
The Joystick object is an input control which can control the environment.
Synchronize, and update the input for the next display buffer.
The selected button returned as on or off.
The hat switch is a control on some joysticks, and returns the selected button.
The following example is based upon the engine being initialized at which point the joystick checks for input.
' Game Basic 3D Engine Build 4096 ' Copyright © Monarke Studios. All Rights Reserved. Private Joystick As New GameBasic3D.Joystick ' Engine.Initialize Do If Joystick.Button(...) Then ' Preform Action End if Joystick.Update Loop ' Engine.End Set Joystick = Nothing