MultiTouchMinimalDemo([dev][, verbose=0]) - A basic demo for multi-touch touchscreens.

Run it. Pressing the ESCape key will stop it.

Touch the screen and watch the nice colorful happy blobs
sprinkle to life :)

The demo will try to use the first available touchscreen, or if
there isn’t any touchscreen, the first available touchpad. You
can also select a specific touch device by passing in its ‘dev’
device handle. Use of touchpads usually needs special configuration.
See “help TouchInput” for more info.

If you set the optional ‘verbose’ flag to 1, then the unique touch
id and time delta in msecs between touch updates for each touchpoint
will be printed. This slows the processing down somewhat, as ‘DrawText’
is more slow than most other drawing functions.

This demo currently only works on Linux + X11 display system,
not on Linux + Wayland, not on other operating systems.

For background info on capabilities and setup see “help TouchInput”.

Path   Retrieve current version from GitHub | View changelog