mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 17:19:10 +01:00
23 lines
460 B
C
23 lines
460 B
C
|
// Copyright 2017 Dolphin Emulator Project
|
||
|
// Licensed under GPLv2+
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"
|
||
|
|
||
|
namespace ControllerEmu
|
||
|
{
|
||
|
class Tilt : public ControlGroup
|
||
|
{
|
||
|
public:
|
||
|
explicit Tilt(const std::string& name);
|
||
|
|
||
|
void GetState(ControlState* x, ControlState* y, bool step = true);
|
||
|
|
||
|
private:
|
||
|
ControlState m_tilt[2];
|
||
|
};
|
||
|
} // namespace ControllerEmu
|