summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-02 15:11:15 -0800
committerPierre Bourdon <delroth@gmail.com>2014-02-02 15:11:15 -0800
commit3363b396afdc8291d7736705d630efff66b4e95c (patch)
tree6049ebe7c2b8874db5a389af617603883a64270a /Source/Core/InputCommon/ControllerInterface/Device.h
parent70f66ad32515bce6962e1961e186449e288c497b (diff)
parent3efb0aa5f7d6d1aef90a366754fe69fe573a92ab (diff)
Merge pull request #23 from lioncash/sorta-large-input-cleanup
Larger cleanup to input-related source files (this time using unique_ptr).
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Device.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h
index a7c26b867d..a2cdc7cf01 100644
--- a/Source/Core/InputCommon/ControllerInterface/Device.h
+++ b/Source/Core/InputCommon/ControllerInterface/Device.h
@@ -19,9 +19,9 @@ namespace Core
class DeviceQualifier;
//
-// Device
+// Device
//
-// a device class
+// A device class
//
class Device
{
@@ -30,11 +30,11 @@ public:
class Output;
//
- // Control
+ // Control
//
- // control includes inputs and outputs
+ // Control includes inputs and outputs
//
- class Control // input or output
+ class Control // input or output
{
public:
virtual std::string GetName() const = 0;
@@ -45,9 +45,9 @@ public:
};
//
- // Input
+ // Input
//
- // an input on a device
+ // An input on a device
//
class Input : public Control
{
@@ -61,9 +61,9 @@ public:
};
//
- // Output
+ // Output
//
- // an output on a device
+ // An output on a device
//
class Output : public Control
{
@@ -126,15 +126,15 @@ protected:
}
private:
- std::vector<Input*> m_inputs;
- std::vector<Output*> m_outputs;
+ std::vector<Input*> m_inputs;
+ std::vector<Output*> m_outputs;
};
//
-// DeviceQualifier
+// DeviceQualifier
//
-// device qualifier used to match devices
-// currently has ( source, id, name ) properties which match a device
+// Device qualifier used to match devices.
+// Currently has ( source, id, name ) properties which match a device
//
class DeviceQualifier
{
@@ -148,9 +148,9 @@ public:
bool operator==(const DeviceQualifier& devq) const;
bool operator==(const Device* const dev) const;
- std::string source;
- int cid;
- std::string name;
+ std::string source;
+ int cid;
+ std::string name;
};
class DeviceContainer