Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ handleEvent()

void Flint::UISystem::handleEvent ( const AppEvent & event)

Translates raw platform engine input messages into structured, semantic UIEvent actions.

This method houses the engine's axis hysteresis state engine. Analog stick deflections from gamepads are parsed against dual boundary limits (Schmitt trigger mechanism), converting continuous float streams into discrete single-fire navigation commands. Cursor sweeps and mechanical button actions skip this filter stage and are forwarded down to the tree elements instantly.

Parameters
eventThe incoming platform-level raw application data wrapper.
See also
UIContext::handleEvent, toUiEvent