summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Force.h
blob: 03dc07ecbd3c0d8d73c29b2d680002ce7d00022a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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 Force : public ControlGroup
{
public:
  using StateData = std::array<ControlState, 3>;

  explicit Force(const std::string& name);

  StateData GetState();

private:
  StateData m_swing{};
};
}  // namespace ControllerEmu