InputCommon: Clean up brace placements

This commit is contained in:
Lioncash
2014-08-30 16:44:28 -04:00
parent 55a0034dd5
commit bc14d6966f
4 changed files with 25 additions and 12 deletions

View File

@ -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;