How To Setup The Keyboard E-mail
Supplemental Object Documentation

1. Overview

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

2. Methods


Check is the primary method for returning any information sent from the keyboard.

 Process <width> <height>

Process renders a text buffer in the specified area.


Text returns the formatted buffer.

3. Properties

 Buffer <string>

Setup and return the information within the text buffer.

 Button <boolean>

The selected button returned as on or off.

 Cursor <string>

The cursor buffer generated for the text buffer.

4. Example

The following example is based upon the engine being initialized at which point the keyboard input is rendered with the font object.

' Game Basic 3D Engine Build 4096
' Copyright © Monarke Studios. All Rights Reserved.
Private Keyboard As New GameBasic3D.Keyboard
' Engine.Initialize
    ' Process and specify the text area size
    Keyboard.Process Width, Height
    ' Render the keyboard input
    Font.Render Keyboard.Text, X, Y
    Font.Render Keyboard.Cursor, X, Y
    ' Check for the selected input
    If Keyboard.Check(...) Then
        ' Preform Action
    End if
' Engine.End
Set Keyboard = 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.