Skip to content

ViSi-Genie Magic: Keyboard and String

Introduction

This codebase example shows how to print characters in the display using Keyboard Object and Keyboard + ColorPicker Event Magic. Magic Code was used to declare global variables for the array that holds keyboard values and the counter for the index. The Keyboard Object's OnChanged Event is set to MagicKbClrEvent0(Keyboard + ColorPicker Event Magic). The MagicKbClrEvent0 determines if the keypressed is a character or backspace. This also performs printing of keyboard values in the sceen.

Note

Worskhop 4 PRO is needed for this codebase example.

Prerequisites

This codebase example assumes the reader can program the 4D Systems display module using Workshop4 IDE ViSi-Genie environment. Beginners are advised to read the following aplication notes.

Attachment

Project File