local function z(z)local w=Gamepad:GetPosition(THUMBSTICK_1)local l=Gamepad:IsDown(BUTTON_RT)engine.BoostInput=UpdateBoost(l,z)and 1 or 0 engine.YawInput=ApplyDeadzone(w.X)engine.PitchInput=ApplyDeadzone(w.Y)end
-- Gamepad Input
local function GetGamepadInput(step)
	-- Get gamepad inputs
	local thumbstick1 = Gamepad:GetPosition(THUMBSTICK_1)
	local rt = Gamepad:IsDown(BUTTON_RT)

	-- Update control inputs
	engine.BoostInput = ((UpdateBoost(rt, step) and 1) or 0)
	engine.YawInput = ApplyDeadzone(thumbstick1.X)
	engine.PitchInput = ApplyDeadzone(thumbstick1.Y)
end -- GetGamepadInput()
