DEKI/ENGINE docs
manual api reference
deki-tactility-integration 0.40.1
Deki package reference
deki-tactility-integration

Runs a Deki game as a Tactility app. Builds and installs a device app or into the Tactility simulator. Experimental

Repository: github.com/dekiengine/deki-tactility-integration · Latest release: 0.40.0 · Needs engine 0.40.0+ · Requires: deki-input

Install with DekiEditor --packages-add deki-tactility-integration <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.

Shown in the editor as Tactility Integration.

Components

Component Category Description
TactilityAudioSetup Tactility Plays Deki's audio through Tactility's speaker.
TactilityDisplaySetup Tactility Gives the game Tactility's display: the whole panel, or a window with the OS still running.
TactilityInputSetup Tactility Feeds Tactility's touch and keyboard into Deki's input system.

Feature flags

Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.

Feature Define Default
Display — on
Input — on
Audio — on

Component reference

TactilityAudioSetup

Plays Deki's audio through Tactility's speaker.

Inspector name: Tactility Audio Setup · Category: Tactility · Type: DekiTactility::TactilityAudioSetup

Property Type Default Constraints Description
sampleRate int32 16000 8000 to 48000 Samples per second the game plays at. Tactility resamples to the speaker's own rate, so this is the rate the game's sounds were made at.
initialVolume int32 80 0 to 100 The game's own volume at startup, 0 to 100. The device's system volume still applies on top.

TactilityDisplaySetup

Gives the game Tactility's display: the whole panel, or a window with the OS still running.

Inspector name: Tactility Display Setup · Category: Tactility · Type: DekiTactility::TactilityDisplaySetup

Property Type Default Constraints Description
mode enum "Panel" Panel, Window Panel takes the whole display over and stops LVGL, so the game owns every pixel. Window runs the game in an app window with LVGL and the OS still running around it, at the platform's screen size.

TactilityInputSetup

Feeds Tactility's touch and keyboard into Deki's input system.

Inspector name: Tactility Input Setup · Category: Tactility · Type: DekiTactility::TactilityInputSetup

No reflected properties.

Changelog

0.40.0

Changed

  • minEngine 0.40.0: built against engine 0.40.0. A build of this package from before does not load and is rebuilt.

Fixed

  • Erasing from a std::map or std::set links in a Tactility app. Tactility exports the tree's insert but not its erase, so an app that erased from one was refused at build; the package defines it (TactilityTreeErase.h).

0.30.1

Fixed

  • The simulator build of a project leaving out more than ten components configures: the sources it leaves out were joined into one regular expression, past CMake's limit of ten groups ("Too many parentheses").

Earlier releases: CHANGELOG.md.


Generated from the package's reflection data (engine 0.40.1). Property names are the keys used in scene files. Renames keep an alias (compatibility).