oa::ui::types::classify_scroll
Classify an SDL3 wheel event into a UiScrollGesture. Heuristic: integer_x/y non-zero → discrete wheel; ctrl held → pinch fallback; otherwise smooth trackpad pan.
Function Documentation
Classify an SDL3 wheel event into a UiScrollGesture. Heuristic: integer_x/y non-zero → discrete wheel; ctrl held → pinch fallback; otherwise smooth trackpad pan.