Home  Contents

Introduction

Touch Core4 Lua Event System

DESCRIPTION

The Touchscreen module provides event handling support for touch screens and mice.

To determine if the graphics display has a touch screen, use touch:exists().

Call touch.new() to create a new event handler. Received events are reported via the callbacks touch.event(), touch.click() and touch.input().

Calling touch:calibrate() will run a calibration program.