dolphin/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.h
Lioncash 14c81764df ControllerEmu: Replace includes with forward declarations
Replaces includes with forward declarations where applicable, and moves
includes to where they're actually needed.
2017-04-04 20:38:30 -04:00

24 lines
543 B
C++

// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <array>
#include <string>
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"
#include "InputCommon/ControllerInterface/Device.h"
namespace ControllerEmu
{
class Tilt : public ControlGroup
{
public:
explicit Tilt(const std::string& name);
void GetState(ControlState* x, ControlState* y, bool step = true);
private:
std::array<ControlState, 2> m_tilt{};
};
} // namespace ControllerEmu