summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/IRPassthrough.h
blob: b66fb014c114eaa4e830f0688bfb6f9177686656 (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
// Copyright 2024 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <string>

#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"
#include "InputCommon/ControllerInterface/CoreDevice.h"

namespace ControllerEmu
{
class IRPassthrough : public ControlGroup
{
public:
  IRPassthrough(std::string name, std::string ui_name);

  ControlState GetObjectPositionX(size_t object_index) const;
  ControlState GetObjectPositionY(size_t object_index) const;
  ControlState GetObjectSize(size_t object_index) const;

  bool AreInputsBound() const;
};
}  // namespace ControllerEmu