summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Control/Control.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Control/Control.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/Control/Control.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Control/Control.h b/Source/Core/InputCommon/ControllerEmu/Control/Control.h
index f5c2e394ea..e005431873 100644
--- a/Source/Core/InputCommon/ControllerEmu/Control/Control.h
+++ b/Source/Core/InputCommon/ControllerEmu/Control/Control.h
@@ -11,19 +11,26 @@ class ControlReference;
namespace ControllerEmu
{
+enum Translatability
+{
+ DoNotTranslate,
+ Translate
+};
+
class Control
{
public:
virtual ~Control();
std::unique_ptr<ControlReference> const control_ref;
- const bool translate;
+ const Translatability translate;
const std::string name;
const std::string ui_name;
protected:
- Control(std::unique_ptr<ControlReference> ref, bool translate, const std::string& name,
+ Control(std::unique_ptr<ControlReference> ref, Translatability translate, const std::string& name,
const std::string& ui_name);
- Control(std::unique_ptr<ControlReference> ref, bool translate, const std::string& name);
+ Control(std::unique_ptr<ControlReference> ref, Translatability translate,
+ const std::string& name);
};
} // namespace ControllerEmu