The motor module combines runtime engines with immutable helper profiles that can be persisted, inspected, and applied by game-specific input or gameplay systems.
Input and Motor Support#
createInputRemapProfile,remapInputAction, andresolveInputActionprovide per-player action remapping across keyboard, mouse, gamepad, touch, switch, eye tracking, and Xbox Adaptive Controller devices.serializeInputRemapProfileanddeserializeInputRemapProfilepersist remapping data.createHoldToTogglePlanandprocessHoldToToggleInputconvert hold actions such as aim or sprint into toggle behavior.createOneHandedControlSchemecreates left-hand-only or right-hand-only profiles with movement, camera, confirm, cancel, and menu coverage.createXboxAdaptiveControllerProfilerecords port-to-action mappings and compatibility status.
Timing and Gameplay Pace#
createDualAimAssistProfileseparates camera assist from reticle assist.createQteAlternativePlansupports hold-button, single-press, and auto-complete QTE alternatives.createTimingAdjustmentPlanexpands dodge, puzzle, and QTE windows while accounting for game-speed scaling.createSequentialComboPlanandadvanceSequentialComboconvert simultaneous combo inputs into ordered steps.createGameSpeedAdjustmentclamps global game speed to the 0.5x-1.0x accessibility range.
Cognitive Support#
evaluateAdaptiveDifficultyadjusts difficulty from deaths, retries, completion time, and success rate.evaluatePuzzleSkipOfferdetermines when to offer a skip and exposes a narrative summary.createObjectiveClarityPlanprovides simplified objective text, waypoints, highlighted interactables, and step lists.createTutorialReplayLibraryandselectTutorialReplaykeep tutorials available from a menu after first encounter.createAccessibilityPresetProfileprovides one-click presets for vision, hearing, motor, and cognitive needs.runMotorCognitiveComplianceCheckreports Xbox Accessibility Guidelines and Game Accessibility Guidelines coverage for implemented capabilities.