From 40bb9974f21878e64fb03d70e717cb996bf13a29 Mon Sep 17 00:00:00 2001 From: spycrab Date: Thu, 12 Apr 2018 14:18:04 +0200 Subject: Reformat all the things! --- Source/Core/InputCommon/ControllerInterface/Device.h | 1 + Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h | 2 ++ Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 1 + 3 files changed, 4 insertions(+) (limited to 'Source/Core/InputCommon/ControllerInterface') diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h index dc3bdbe84f..2012941a83 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.h +++ b/Source/Core/InputCommon/ControllerInterface/Device.h @@ -98,6 +98,7 @@ protected: } std::string GetName() const override { return m_low.GetName() + *m_high.GetName().rbegin(); } + private: Input& m_low; Input& m_high; diff --git a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h index 3cb79fee39..a986f120c1 100644 --- a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h +++ b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h @@ -33,6 +33,7 @@ public: void UpdateInput() override; std::string GetName() const override { return m_name; } std::string GetSource() const override { return "Pipe"; } + private: class PipeInput : public Input { @@ -41,6 +42,7 @@ private: std::string GetName() const override { return m_name; } ControlState GetState() const override { return m_state; } void SetState(ControlState state) { m_state = state; } + private: const std::string m_name; ControlState m_state; diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h index 513c5a67f2..c1a3da2ada 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h @@ -74,6 +74,7 @@ public: std::string GetName() const override { return m_name; } std::string GetSource() const override { return "evdev"; } bool IsInteresting() const { return m_initialized && m_interesting; } + private: const std::string m_devfile; int m_fd; -- cgit v1.2.3