Module fermium::touch[][src]

Expand description

Module for touch interface interactions.

Structs

Info for a finger object.

Used to identify a finger object.

The types of a touch device.

Used with touch events.

Constants

Used as the SDL_TouchID for touch events simulated with mouse input.

Touch screen with window-relative coordinates

Trackpad with absolute device coordinates

Trackpad with screen cursor-relative coordinates

The “invalid” touch type. Used for error values and such.

Used as the device ID for mouse events simulated with touch input.

Functions

Get the number of registered touch devices.

Get the number of active fingers for a given touch device.

Get the touch ID with the given index, or 0 if the index is invalid.

Get the type of the given touch device.

Get the finger object of the given touch, with the given index.