22 lines
513 B
C++
22 lines
513 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"
|
|
#include "InputCommon/ControllerInterface/Device.h"
|
|
|
|
namespace ControllerEmu
|
|
{
|
|
class Slider : public ControlGroup
|
|
{
|
|
public:
|
|
Slider(const std::string& name, const std::string& ui_name);
|
|
explicit Slider(const std::string& name);
|
|
|
|
void GetState(ControlState* slider);
|
|
};
|
|
} // namespace ControllerEmu
|