diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-30 16:44:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-30 18:06:44 -0400 |
| commit | bc14d6966f996c482ea97aa9b424e34091bfc8ec (patch) | |
| tree | 0397974a802fafe9e9c0d000ab03c92503bd5257 /Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm | |
| parent | 55a0034dd569898dfa3d920438b22193ac25da9a (diff) | |
InputCommon: Clean up brace placements
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm index ac98c4c13d..9d73106c6e 100644 --- a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm +++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm @@ -30,7 +30,8 @@ void DeviceElementDebugPrint(const void *value, void *context) recurse = *(bool*)context; std::string type = ""; - switch (IOHIDElementGetType(e)) { + switch (IOHIDElementGetType(e)) + { case kIOHIDElementTypeInput_Axis: type = "axis"; break; @@ -57,7 +58,8 @@ void DeviceElementDebugPrint(const void *value, void *context) std::string c_type = ""; if (type == "collection") { - switch (IOHIDElementGetCollectionType(e)) { + switch (IOHIDElementGetCollectionType(e)) + { case kIOHIDElementCollectionTypePhysical: c_type = "physical"; break; |
