function UserInputController.getPlayerControlsEnabled(R)local l=R:_getPlayerControls()local a=l and l:GetActiveController()if a then return a.enabled end end
-- Get player control enabled state
function UserInputController:getPlayerControlsEnabled()
	local playerControls = self:_getPlayerControls()
	local activeController = playerControls and playerControls:GetActiveController()
	if activeController then
		return activeController.enabled
	end
end
