local function B(B)return Vector2.new(math.clamp(math.sign(B.X)*fromSCurveSpace(SCurveTransform(toSCurveSpace(math.abs(B.X)))),-1,1),math.clamp(math.sign(B.Y)*fromSCurveSpace(SCurveTransform(toSCurveSpace(math.abs(B.Y)))),-1,1))end

local function gamepadLinearToCurve(thumbstickPosition)
	return Vector2.new(
		math.clamp(math.sign(thumbstickPosition.X) * fromSCurveSpace(SCurveTransform(toSCurveSpace(math.abs(thumbstickPosition.X)))), -1, 1),
		math.clamp(math.sign(thumbstickPosition.Y) * fromSCurveSpace(SCurveTransform(toSCurveSpace(math.abs(thumbstickPosition.Y)))), -1, 1))
end

