local J={[Enum.TouchMovementMode.DPad]=TouchDPad;[Enum.DevTouchMovementMode.DPad]=TouchDPad,[Enum.TouchMovementMode.Thumbpad]=TouchThumbpad,[Enum.DevTouchMovementMode.Thumbpad]=TouchThumbpad;[Enum.TouchMovementMode.Thumbstick]=TouchThumbstick;[Enum.DevTouchMovementMode.Thumbstick]=TouchThumbstick,[Enum.TouchMovementMode.DynamicThumbstick]=DynamicThumbstick,[Enum.DevTouchMovementMode.DynamicThumbstick]=DynamicThumbstick;[Enum.TouchMovementMode.ClickToMove]=ClickToMove;[Enum.DevTouchMovementMode.ClickToMove]=ClickToMove,[Enum.TouchMovementMode.Default]=DynamicThumbstick;[Enum.ComputerMovementMode.Default]=Keyboard,[Enum.ComputerMovementMode.KeyboardMouse]=Keyboard;[Enum.DevComputerMovementMode.KeyboardMouse]=Keyboard;[Enum.DevComputerMovementMode.Scriptable]=nil;[Enum.ComputerMovementMode.ClickToMove]=ClickToMove;[Enum.DevComputerMovementMode.ClickToMove]=ClickToMove}
-- Mapping from movement mode and lastInputType enum values to control modules to avoid huge if elseif switching
local movementEnumToModuleMap = {
	[Enum.TouchMovementMode.DPad] = TouchDPad,
	[Enum.DevTouchMovementMode.DPad] = TouchDPad,
	[Enum.TouchMovementMode.Thumbpad] = TouchThumbpad,
	[Enum.DevTouchMovementMode.Thumbpad] = TouchThumbpad,
	[Enum.TouchMovementMode.Thumbstick] = TouchThumbstick,
	[Enum.DevTouchMovementMode.Thumbstick] = TouchThumbstick,
	[Enum.TouchMovementMode.DynamicThumbstick] = DynamicThumbstick,
	[Enum.DevTouchMovementMode.DynamicThumbstick] = DynamicThumbstick,
	[Enum.TouchMovementMode.ClickToMove] = ClickToMove,
	[Enum.DevTouchMovementMode.ClickToMove] = ClickToMove,

	-- Current default
	[Enum.TouchMovementMode.Default] = DynamicThumbstick,

	[Enum.ComputerMovementMode.Default] = Keyboard,
	[Enum.ComputerMovementMode.KeyboardMouse] = Keyboard,
	[Enum.DevComputerMovementMode.KeyboardMouse] = Keyboard,
	[Enum.DevComputerMovementMode.Scriptable] = nil,
	[Enum.ComputerMovementMode.ClickToMove] = ClickToMove,
	[Enum.DevComputerMovementMode.ClickToMove] = ClickToMove,
}
