InputController
This item only works when running on the client. Client
Handles player input by managing control presets, double-tap logic, and action binding. It serves as a wrapper around ContextActionService to facilitate easy switching between different input configurations.
Functions
init
InputController:init() → ()Initializes the InputController and sets the default control preset.
UnbindActions
InputController:UnbindActions() → ()Unbinds all currently bound actions from ContextActionService.
SetupInputs
InputController:SetupInputs(presetName: string--
The name of the preset to apply.
) → ()Binds a set of actions based on a predefined control preset. Handles standard actions and specialized double-tap actions.