How To Setup The Joystick E-mail
Supplemental Object Documentation

1. Overview

The Joystick object is an input control which can control the environment.

2. Methods

 Update

Synchronize, and update the input for the next display buffer.

3. Properties

 Axes <vertex>

The position, and rotation returned from the analog input.

 Button <boolean>

The selected button returned as on or off.

 POV <boolean>

The hat switch is a control on some joysticks, and returns the selected button.

4. Example

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

5. Disclaimer 

Please note that the objects, and other various effects that can help extend the example are not entirely present but assume you're already familiar working with them. Please refer to the other online content, and technical reference included with the installation for further documentation.